Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

chore(2FA): get rid of empty `onOpenChange`

Rudy B.6c6765291f85
diff --git a/src/components/modals/TwoFactorSuccessModal.tsx b/src/components/modals/TwoFactorSuccessModal.tsx
index 68649f19d..3818087d7 100644
--- a/src/components/modals/TwoFactorSuccessModal.tsx
+++ b/src/components/modals/TwoFactorSuccessModal.tsx
@@ -30,7 +30,7 @@ export function TwoFactorSuccessModal({ backupCodes, onClose }: TwoFactorSuccess
};
return (
- <Modal isOpen={true} onOpenChange={() => {}}>
+ <Modal isOpen={true}>
<Dialog title={t(labels.twoFactorSuccessTitle)} className={styles.dialog}>
{() => (
<Column gap="5">