Skip to content

Commit 1de6c83

Browse files
committed
call dismiss only once
Closes #164
1 parent 0de7429 commit 1de6c83

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

app/routes/settings+/profile.photo.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export default function PhotoChooserModal() {
141141
<Dialog.Overlay className="fixed inset-0 backdrop-blur-[2px]" />
142142
<Dialog.Content
143143
onEscapeKeyDown={dismissModal}
144-
onInteractOutside={dismissModal}
145144
onPointerDownOutside={dismissModal}
146145
className="fixed left-1/2 top-1/2 w-[90vw] max-w-3xl -translate-x-1/2 -translate-y-1/2 transform rounded-lg bg-night-500 p-12 shadow-lg"
147146
>

app/routes/settings+/profile.two-factor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export default function TwoFactorRoute() {
2525
<Dialog.Overlay className="fixed inset-0 backdrop-blur-[2px]" />
2626
<Dialog.Content
2727
onEscapeKeyDown={dismissModal}
28-
onInteractOutside={dismissModal}
2928
onPointerDownOutside={dismissModal}
3029
className="fixed left-1/2 top-1/2 max-h-full w-[90vw] max-w-3xl -translate-x-1/2 -translate-y-1/2 transform overflow-y-scroll rounded-lg bg-night-500 p-12 shadow-lg"
3130
>

0 commit comments

Comments
 (0)