'use client' import { CampaignHomeActionStrip } from '@/components/campaign/dashboard/CampaignHomeActionStrip' import { homeActionsForRole, toHomeActionButtonProps } from '@/lib/campaignHomeActions' import type { CampaignRole } from '@/lib/campaignRoles' export const CampaignHomeActions = ({ role, uncoveredMunicipalitiesHref, }: { role: CampaignRole uncoveredMunicipalitiesHref?: string }) => { const actions = toHomeActionButtonProps(homeActionsForRole(role), uncoveredMunicipalitiesHref) if (actions.length === 0) return null return }