Add cancel button to delete starred event dialog (#7853)

This commit is contained in:
Nicolas Mowen 2023-09-21 04:24:12 -06:00 committed by GitHub
parent 0d6bb6714a
commit 76d4f16db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,6 +556,9 @@ export default function Events({ path, ...props }) {
<p className="mb-2">Confirm deletion of saved event.</p> <p className="mb-2">Confirm deletion of saved event.</p>
</div> </div>
<div className="p-2 flex justify-start flex-row-reverse space-x-2"> <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 <Button
className="ml-2" className="ml-2"
color="red" color="red"