diff --git a/frontend/src/hooks/useCampaignCreator.ts b/frontend/src/hooks/useCampaignCreator.ts index a318645d..a6327118 100644 --- a/frontend/src/hooks/useCampaignCreator.ts +++ b/frontend/src/hooks/useCampaignCreator.ts @@ -438,10 +438,12 @@ export const useCampaignCreator = () => { }, []); // Personalization - const [userPreferences, setUserPreferences] = useState(null); - const [isLoadingPreferences, setIsLoadingPreferences] = useState(false); - const [recommendations, setRecommendations] = useState(null); - const [isLoadingRecommendations, setIsLoadingRecommendations] = useState(false); + // Removed duplicate state declarations that were causing build errors + // These are already declared at the top of the hook + // const [userPreferences, setUserPreferences] = useState(null); + // const [isLoadingPreferences, setIsLoadingPreferences] = useState(false); + // const [recommendations, setRecommendations] = useState(null); + // const [isLoadingRecommendations, setIsLoadingRecommendations] = useState(false); const getPersonalizedDefaults = useCallback( async (formType: string): Promise => {