mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
default assign renderTab and receivedFiles to null and [] respectively
This commit is contained in:
@@ -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