Skip to content

Commit

Permalink
Add separator
Browse files Browse the repository at this point in the history
  • Loading branch information
colebemis committed May 25, 2024
1 parent 02f4b2b commit 79c8401
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/note-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,12 @@ const _NoteCard = React.memo(function NoteCard({
</DropdownMenu.Trigger>
<DropdownMenu.Content align="end">
{isDirty ? (
<DropdownMenu.Item icon={<UndoIcon16 />} onSelect={discardChanges}>
Discard changes
</DropdownMenu.Item>
<>
<DropdownMenu.Item icon={<UndoIcon16 />} onSelect={discardChanges}>
Discard changes
</DropdownMenu.Item>
<DropdownMenu.Separator />
</>
) : null}
<DropdownMenu.Item
icon={
Expand Down

0 comments on commit 79c8401

Please sign in to comment.