default assign renderTab and receivedFiles to null and [] respectively

This commit is contained in:
Srayash
2024-12-05 16:15:57 +05:30
parent b314b27260
commit dbf95a95a4

View File

@@ -19,10 +19,10 @@ import {
import WrapperModal from '../modals/WrapperModal';
function Upload({
receivedFile,
receivedFile = [],
setModalState,
isOnboarding,
renderTab,
renderTab = null,
close,
}: {
receivedFile: File[];