diff --git a/docker-compose.yml b/docker-compose.yml
index 204478df..b469ebb2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,6 +13,10 @@ services:
POSTGRES_DB: teqo
ports:
- '5432:5432'
+ # Default max_connections=100 is tight for vitest forks (≈CPUs × pg pool)
+ # plus a leftover `next start` from local repro. Raise the ceiling so the
+ # int gate fails on real assertions, not "too many clients already".
+ command: ['postgres', '-c', 'max_connections=200']
volumes:
- pgdata:/var/lib/postgresql/data
# Runs only on first initialization of the volume. Creates the dedicated
diff --git a/src/app/(campaign)/campanha/(app)/dobradinhas/page.tsx b/src/app/(campaign)/campanha/(app)/dobradinhas/page.tsx
index 161f47a4..e27ea4f3 100644
--- a/src/app/(campaign)/campanha/(app)/dobradinhas/page.tsx
+++ b/src/app/(campaign)/campanha/(app)/dobradinhas/page.tsx
@@ -184,15 +184,11 @@ const stateDeputyColumns = (
{
id: 'advisors',
label: 'Assessores',
- head: canEditAdvisors ? (
-
- Assessores
-
- ) : (
-
- Assessores
-
- ),
+ // No `description` here: `CampaignTableHead`'s hover tooltip
+ // (`CampaignHoverTooltip`) plus `StateDeputyAdvisorRelationCell` on this
+ // list breaks production SSR with "Element type is invalid … undefined".
+ // Municípios keeps its tooltip; Assessores relies on the cell chrome.
+ head: Assessores,
cellClassName: 'max-w-72 whitespace-normal',
cell: (row) => (