Skip to content

Commit

Permalink
Add cancel button to delete starred event dialog (blakeblackshear#7853)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Sep 21, 2023
1 parent 0d6bb67 commit 76d4f16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/routes/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ export default function Events({ path, ...props }) {
<p className="mb-2">Confirm deletion of saved event.</p>
</div>
<div className="p-2 flex justify-start flex-row-reverse space-x-2">
<Button className="ml-2" onClick={() => setDeleteFavoriteState({ ...state, showDeleteFavorite: false })} type="text">
Cancel
</Button>
<Button
className="ml-2"
color="red"
Expand Down

0 comments on commit 76d4f16

Please sign in to comment.