25 lines
631 B
TypeScript
25 lines
631 B
TypeScript
'use client'
|
|
|
|
import { createCampaignClientDynamic } from '@/components/campaign/CreateCampaignClientDynamic'
|
|
|
|
const NucleusDetailMap = createCampaignClientDynamic<{
|
|
codareas: string[]
|
|
territoryCodes: string[]
|
|
territoryLabel: string
|
|
}>(() => import('@/components/campaign/NucleusDetailMap'), 'NucleusDetailMap', 'h-[280px]')
|
|
|
|
export const NucleusDetailMapDynamic = ({
|
|
codareas,
|
|
territoryCodes,
|
|
territoryLabel,
|
|
}: {
|
|
codareas: string[]
|
|
territoryCodes: string[]
|
|
territoryLabel: string
|
|
}) => (
|
|
<NucleusDetailMap
|
|
codareas={codareas}
|
|
territoryCodes={territoryCodes}
|
|
territoryLabel={territoryLabel}
|
|
/>
|
|
)
|