style: prettier
This commit is contained in:
parent
0114c348d5
commit
8a720b0285
4 changed files with 6 additions and 4 deletions
|
|
@ -14,8 +14,8 @@ import { Alert, AlertDescription } from '@/components/ui/Alert'
|
|||
import { Button } from '@/components/ui/button'
|
||||
import { Spinner } from '@/components/ui/Spinner'
|
||||
import { wizardActionHref } from '@/lib/campaignActionRoutes'
|
||||
import { recordLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
|
||||
import { postCampaignJson } from '@/lib/campaignJsonRequest'
|
||||
import { recordLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
|
||||
import { CAMPAIGN_HOME } from '@/lib/campaignPaths'
|
||||
import {
|
||||
WIZARD_VOTES_FINAL_CTA_LABEL,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import { useHomeSearchQuery } from '@/components/campaign/dashboard/useHomeSearc
|
|||
import { CampaignSearchInput } from '@/components/campaign/shared/CampaignSearchInput'
|
||||
import { CampaignWizardShell } from '@/components/campaign/shared/CampaignWizardShell'
|
||||
import { wizardActionHref } from '@/lib/campaignActionRoutes'
|
||||
import { getLastActedMunicipalitySlug } from '@/lib/campaignLastActedMunicipality'
|
||||
import type {
|
||||
HomeSearchMunicipalityHit,
|
||||
WizardMunicipalitySearchSuccessResponse,
|
||||
|
|
@ -16,6 +15,7 @@ import type {
|
|||
import { toHomeSearchMunicipalityHit } from '@/lib/campaignHomeSearchHits'
|
||||
import { HOME_SEARCH_GENERIC_ERROR_MESSAGE } from '@/lib/campaignHomeSearchMessages'
|
||||
import { postCampaignJson } from '@/lib/campaignJsonRequest'
|
||||
import { getLastActedMunicipalitySlug } from '@/lib/campaignLastActedMunicipality'
|
||||
import {
|
||||
WIZARD_MUNICIPALITY_SEARCH_EMPTY,
|
||||
WIZARD_MUNICIPALITY_SEARCH_LABEL,
|
||||
|
|
|
|||
|
|
@ -30,11 +30,11 @@ import {
|
|||
useSidebar,
|
||||
} from '@/components/ui/Sidebar'
|
||||
import { Spinner } from '@/components/ui/Spinner'
|
||||
import { clearLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
|
||||
import { clearCampaignPwaCaches } from '@/utilities/campaignPwaClient'
|
||||
import type { CampaignUserShellView } from '@/utilities/campaignUserProfile'
|
||||
import { campaignRoleLabels } from '@/utilities/campaignUserProfile'
|
||||
import { clearMunicipalitySavedFilters } from '@/utilities/municipality/municipalitySavedFilters'
|
||||
import { clearLastActedMunicipality } from '@/lib/campaignLastActedMunicipality'
|
||||
import { clearRecentVisits } from '@/utilities/recentVisits'
|
||||
|
||||
export type CampaignSidebarUser = CampaignUserShellView
|
||||
|
|
|
|||
|
|
@ -21,7 +21,9 @@ const hit = (
|
|||
...partial,
|
||||
})
|
||||
|
||||
const visit = (overrides: Partial<WizardContinuityVisitInput> = {}): WizardContinuityVisitInput => ({
|
||||
const visit = (
|
||||
overrides: Partial<WizardContinuityVisitInput> = {},
|
||||
): WizardContinuityVisitInput => ({
|
||||
href: '/campanha/municipios/cairu',
|
||||
kind: 'municipality',
|
||||
...overrides,
|
||||
|
|
|
|||
Loading…
Reference in a new issue