style: prettier

This commit is contained in:
Cursor Agent 2026-08-01 07:24:10 +00:00
parent 0114c348d5
commit 8a720b0285
No known key found for this signature in database
4 changed files with 6 additions and 4 deletions

View file

@ -14,8 +14,8 @@ import { Alert, AlertDescription } from '@/components/ui/Alert'
import { Button } from '@/components/ui/button' import { Button } from '@/components/ui/button'
import { Spinner } from '@/components/ui/Spinner' import { Spinner } from '@/components/ui/Spinner'
import { wizardActionHref } from '@/lib/campaignActionRoutes' import { wizardActionHref } from '@/lib/campaignActionRoutes'
import { recordLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
import { postCampaignJson } from '@/lib/campaignJsonRequest' import { postCampaignJson } from '@/lib/campaignJsonRequest'
import { recordLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
import { CAMPAIGN_HOME } from '@/lib/campaignPaths' import { CAMPAIGN_HOME } from '@/lib/campaignPaths'
import { import {
WIZARD_VOTES_FINAL_CTA_LABEL, WIZARD_VOTES_FINAL_CTA_LABEL,

View file

@ -8,7 +8,6 @@ import { useHomeSearchQuery } from '@/components/campaign/dashboard/useHomeSearc
import { CampaignSearchInput } from '@/components/campaign/shared/CampaignSearchInput' import { CampaignSearchInput } from '@/components/campaign/shared/CampaignSearchInput'
import { CampaignWizardShell } from '@/components/campaign/shared/CampaignWizardShell' import { CampaignWizardShell } from '@/components/campaign/shared/CampaignWizardShell'
import { wizardActionHref } from '@/lib/campaignActionRoutes' import { wizardActionHref } from '@/lib/campaignActionRoutes'
import { getLastActedMunicipalitySlug } from '@/lib/campaignLastActedMunicipality'
import type { import type {
HomeSearchMunicipalityHit, HomeSearchMunicipalityHit,
WizardMunicipalitySearchSuccessResponse, WizardMunicipalitySearchSuccessResponse,
@ -16,6 +15,7 @@ import type {
import { toHomeSearchMunicipalityHit } from '@/lib/campaignHomeSearchHits' import { toHomeSearchMunicipalityHit } from '@/lib/campaignHomeSearchHits'
import { HOME_SEARCH_GENERIC_ERROR_MESSAGE } from '@/lib/campaignHomeSearchMessages' import { HOME_SEARCH_GENERIC_ERROR_MESSAGE } from '@/lib/campaignHomeSearchMessages'
import { postCampaignJson } from '@/lib/campaignJsonRequest' import { postCampaignJson } from '@/lib/campaignJsonRequest'
import { getLastActedMunicipalitySlug } from '@/lib/campaignLastActedMunicipality'
import { import {
WIZARD_MUNICIPALITY_SEARCH_EMPTY, WIZARD_MUNICIPALITY_SEARCH_EMPTY,
WIZARD_MUNICIPALITY_SEARCH_LABEL, WIZARD_MUNICIPALITY_SEARCH_LABEL,

View file

@ -30,11 +30,11 @@ import {
useSidebar, useSidebar,
} from '@/components/ui/Sidebar' } from '@/components/ui/Sidebar'
import { Spinner } from '@/components/ui/Spinner' import { Spinner } from '@/components/ui/Spinner'
import { clearLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
import { clearCampaignPwaCaches } from '@/utilities/campaignPwaClient' import { clearCampaignPwaCaches } from '@/utilities/campaignPwaClient'
import type { CampaignUserShellView } from '@/utilities/campaignUserProfile' import type { CampaignUserShellView } from '@/utilities/campaignUserProfile'
import { campaignRoleLabels } from '@/utilities/campaignUserProfile' import { campaignRoleLabels } from '@/utilities/campaignUserProfile'
import { clearMunicipalitySavedFilters } from '@/utilities/municipality/municipalitySavedFilters' import { clearMunicipalitySavedFilters } from '@/utilities/municipality/municipalitySavedFilters'
import { clearLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
import { clearRecentVisits } from '@/utilities/recentVisits' import { clearRecentVisits } from '@/utilities/recentVisits'
export type CampaignSidebarUser = CampaignUserShellView export type CampaignSidebarUser = CampaignUserShellView

View file

@ -21,7 +21,9 @@ const hit = (
...partial, ...partial,
}) })
const visit = (overrides: Partial<WizardContinuityVisitInput> = {}): WizardContinuityVisitInput => ({ const visit = (
overrides: Partial<WizardContinuityVisitInput> = {},
): WizardContinuityVisitInput => ({
href: '/campanha/municipios/cairu', href: '/campanha/municipios/cairu',
kind: 'municipality', kind: 'municipality',
...overrides, ...overrides,