From bf9c061250624350d8d63b8e848ab33736a3b245 Mon Sep 17 00:00:00 2001 From: Ilya Y <75578537+ilya-bkv@users.noreply.github.com> Date: Sun, 16 Jul 2023 00:57:52 +0300 Subject: [PATCH] hotfix/typecheck (#123) --- src/components/_shared/SolidSwiper/SolidSwiper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/_shared/SolidSwiper/SolidSwiper.tsx b/src/components/_shared/SolidSwiper/SolidSwiper.tsx index 2ae065e9..ba02658b 100644 --- a/src/components/_shared/SolidSwiper/SolidSwiper.tsx +++ b/src/components/_shared/SolidSwiper/SolidSwiper.tsx @@ -92,7 +92,7 @@ export const SolidSwiper = (props: Props) => { if (isValid) { try { setLoading(true) - const results: string[] = [] + const results: UploadedFile[] = [] for (const file of selectedFiles) { const result = await handleFileUpload(file) results.push(result.url)