Skip to content

Commit

Permalink
fix: Update TopBar API in uploader.component
Browse files Browse the repository at this point in the history
The MoveTopbar API changed in terms of props.
Due to that, UploaderComponent which was using the old props names
crashed the app. To fix that critical issue we update UploaderComponent
to use the updated prop names for Topbar
  • Loading branch information
acezard authored and cballevre committed Feb 6, 2024
1 parent b6517b2 commit 4a3e19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/views/Upload/UploaderComponent.tsx
Expand Up @@ -49,8 +49,8 @@ const _UploaderComponent = (props: {
)}
<Topbar
navigateTo={setFolder}
currentDir={folderQuery.data}
fetchStatus={folderQuery.fetchStatus}
folderId={folder._id}
showFolderCreation={false}
/>
</>
}
Expand Down

0 comments on commit 4a3e19d

Please sign in to comment.