Skip to content

Commit

Permalink
chore: show import and save button, close #538
Browse files Browse the repository at this point in the history
  • Loading branch information
danloh committed Feb 22, 2024
1 parent 398e592 commit ad57929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sidebar/SideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export function FileDrop() {
<IconFileText size={18} className="mr-1" />
<Tooltip content="Open .md"><span>Open File</span></Tooltip>
</DropdownItem>
<DropdownItem onClick={openJsonFile} className="hidden">
<DropdownItem onClick={openJsonFile}>
<IconFileImport size={18} className="mr-1" />
<Tooltip content="Open JSON"><span>Import JSON</span></Tooltip>
</DropdownItem>
Expand All @@ -253,7 +253,7 @@ export function FileDrop() {
</DropdownItem>
<DropdownItem
onClick={onSave}
className="border-t-2 border-gray-200 dark:border-gray-600 hidden"
className="border-t-2 border-gray-200 dark:border-gray-600"
>
<IconDeviceFloppy size={18} className="mr-1" />
<Tooltip content="Save All Data"><span>Save</span></Tooltip>
Expand Down

0 comments on commit ad57929

Please sign in to comment.