Skip to content

Commit

Permalink
🐛fix build (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
shepilov authored Jul 27, 2023
1 parent 4409e90 commit 832ab8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdrive/frontend/src/app/views/client/side-bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export default () => {
if ((path || [])[0]?.id === 'user_' + user?.id) folderType = 'personal';
if (inTrash) folderType = 'trash';
if (sharedWithMe) folderType = 'shared';
const { viewId, itemId } = RouterServices.getStateFromRoute();


useEffect(() => {
!itemId && viewId && setParentId(viewId);
}, [viewId, itemId]);
Expand Down

0 comments on commit 832ab8a

Please sign in to comment.