Skip to content

Commit

Permalink
fix: remove duplicate mode button
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Aug 6, 2024
1 parent e282e02 commit 56f417c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/item/FolderContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,9 @@ const Content = ({ item, searchText, items, sortBy }: Props) => {

if (mode === ItemLayoutMode.Map) {
return (
<>
<Stack direction="row" justifyContent="right">
<ModeButton />
</Stack>
<Box mt={1}>
<DesktopMap parentId={item.id} />
</>
</Box>
);
}

Expand Down

0 comments on commit 56f417c

Please sign in to comment.