Skip to content

Commit

Permalink
♻️ remove unused setState setter
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkjrs committed Jan 19, 2024
1 parent 8ed17f2 commit 256782c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function PromoDashboard({
const [statsHighlightTimeseries, setStatsHighlightTimeseries] = useState<
CampaignStatsData | undefined
>(undefined);
const [defaultCampaignTypeContent, setDefaultCampaignTypeContent] = useState<
const [defaultCampaignTypeContent] = useState<
{ name: string; description?: string; icon?: string; color?: string }[]
>([...options.campaignTypes, ...(dashboardOptions?.campaignTypes || [])]);
const [clickedStatsClassName, setClickedStatsClassName] = useState<string>(
Expand Down

0 comments on commit 256782c

Please sign in to comment.