From dbf95a95a4baee134a97f9b680c61b2e7a2f6930 Mon Sep 17 00:00:00 2001 From: Srayash Date: Thu, 5 Dec 2024 16:15:57 +0530 Subject: [PATCH] default assign renderTab and receivedFiles to null and [] respectively --- frontend/src/upload/Upload.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/upload/Upload.tsx b/frontend/src/upload/Upload.tsx index 90792a4a..7b80c592 100644 --- a/frontend/src/upload/Upload.tsx +++ b/frontend/src/upload/Upload.tsx @@ -19,10 +19,10 @@ import { import WrapperModal from '../modals/WrapperModal'; function Upload({ - receivedFile, + receivedFile = [], setModalState, isOnboarding, - renderTab, + renderTab = null, close, }: { receivedFile: File[];