From 1fa4f99ab64f65ee7fbaaceff3b610da37494585 Mon Sep 17 00:00:00 2001 From: Georgi Parlakov Date: Fri, 6 Sep 2024 16:18:12 +0300 Subject: [PATCH] fix: types fix --- .../campaign-application/steps/CampaignApplicationDetails.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/client/campaign-application/steps/CampaignApplicationDetails.tsx b/src/components/client/campaign-application/steps/CampaignApplicationDetails.tsx index cdf19afde..733974aa8 100644 --- a/src/components/client/campaign-application/steps/CampaignApplicationDetails.tsx +++ b/src/components/client/campaign-application/steps/CampaignApplicationDetails.tsx @@ -7,10 +7,11 @@ import { StyledStepHeading } from '../helpers/campaignApplication.styled' import theme from 'common/theme' import FileList from 'components/common/file-upload/FileList' import FileUpload from 'components/common/file-upload/FileUpload' +import { Dispatch, SetStateAction } from 'react' export type Props = { files: File[] - setFiles: (files: File[]) => void + setFiles: Dispatch> } export default function CampaignApplicationDetails({ files, setFiles }: Props) {