From 40fd161b66f4829a8687bfa9f797c4dcab02754b Mon Sep 17 00:00:00 2001 From: sirpy Date: Wed, 28 Aug 2024 14:43:36 +0300 Subject: [PATCH] fix: type error --- packages/app/src/components/DonateComponent.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/app/src/components/DonateComponent.tsx b/packages/app/src/components/DonateComponent.tsx index 0d9eb6c2..6d17bd2e 100644 --- a/packages/app/src/components/DonateComponent.tsx +++ b/packages/app/src/components/DonateComponent.tsx @@ -66,12 +66,12 @@ function DonateComponent({ collective }: DonateComponentProps) { const GDToken = GDEnvTokens[gdEnvSymbol]; const currencyOptions: { value: string; label: string }[] = useMemo(() => { - let options = Object.keys(tokenList).reduce((acc, key) => { - if (!key.startsWith('G$') || key === gdEnvSymbol) { - acc.push({ value: key, label: key }); - } - return acc; -}, []); + let options = Object.keys(tokenList).reduce>((acc, key) => { + if (!key.startsWith('G$') || key === gdEnvSymbol) { + acc.push({ value: key, label: key }); + } + return acc; + }, []); return options; }, [tokenList, gdEnvSymbol]);