Skip to content

Commit

Permalink
Auto-prettification
Browse files Browse the repository at this point in the history
  • Loading branch information
sipec authored and github-actions[bot] committed Dec 13, 2024
1 parent fa15b33 commit 7bca77e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/components/layout/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export function Modal(props: {
className="text-ink-1000 relative z-50 focus:outline-none"
open={open}
onClose={setOpen ?? (() => {})}
// prevent modal from re-opening from bubbled event if Modal is child of the open button
onClick={(e: any) => e.stopPropagation()}
// prevent modal from re-opening from bubbled event if Modal is child of the open button
onClick={(e: any) => e.stopPropagation()}
>
<DialogBackdrop
transition
Expand Down

0 comments on commit 7bca77e

Please sign in to comment.