setOpen(false)} />
diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx
index 0c2ffbc..499092c 100644
--- a/src/pages/Login.tsx
+++ b/src/pages/Login.tsx
@@ -52,7 +52,13 @@ export default function Login() {
};
return (
-
-
+
);
}
diff --git a/src/pages/LoginOtp.tsx b/src/pages/LoginOtp.tsx
index 0d0a6c5..ef70874 100644
--- a/src/pages/LoginOtp.tsx
+++ b/src/pages/LoginOtp.tsx
@@ -12,6 +12,11 @@ import { getUserRole, setUserRole, UserRole } from '../utils/role'
const OTP_LENGTH = 5
const DEFAULT_RESEND_SECONDS = 120
+// not yet in TS's DOM lib — minimal shape for the WebOTP API result
+interface OTPCredential extends Credential {
+ code: string
+}
+
function EditIcon({ className = '' }: { className?: string }) {
return (