mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-12 16:15:14 +00:00
default assign renderTab and receivedFiles to null and [] respectively
This commit is contained in:
1 parent
b314b27260
commit
dbf95a95a4
1 file changed
+2
-2
@@ -19,10 +19,10 @@ import {
|
||||
import WrapperModal from '../modals/WrapperModal';
|
||||
|
||||
function Upload({
|
||||
receivedFile,
|
||||
receivedFile = [],
|
||||
setModalState,
|
||||
isOnboarding,
|
||||
renderTab,
|
||||
renderTab = null,
|
||||
close,
|
||||
}: {
|
||||
receivedFile: File[];
|
||||
|
||||
Reference in new issue
Block a user