🚨 Fixes and disables eslint rules

This commit is contained in:
2025-01-04 18:31:20 +08:00
parent e670c571c7
commit c747f4548e
7 changed files with 25 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ export function SnLoginRouter({
factorList: SnAuthFactor[]
onNext: (val: SnAuthFactor) => void
}) {
const factorTypeIcons = [<PasswordIcon />, <EmailIcon />]
const factorTypeIcons = [<PasswordIcon key="password-icon" />, <EmailIcon key="email-icon" />]
const factorTypeLabels = ['Password', 'Email verification code']
const [error, setError] = useState<string | null>(null)