modify upload component to take receivedFile and renderTab as props.

This commit is contained in:
Srayash
2024-12-02 00:16:47 +05:30
parent 6552fe831b
commit bf63509a6e
3 changed files with 11 additions and 3 deletions

View File

@@ -476,8 +476,10 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
/>
{uploadModalState === 'ACTIVE' && (
<Upload
receivedFile={[]}
setModalState={setUploadModalState}
isOnboarding={false}
renderTab={null}
close={() => setUploadModalState('INACTIVE')}
></Upload>
)}