fix: resolve 3 lint issues
- login-form.tsx: suppress unused-vars warning for emailChecked state - bookmark-button.tsx: use function initializer for isLoading to avoid sync setState in effect - saved-games.ts: remove unused 'set' parameter from check endpoint
This commit is contained in:
@@ -42,6 +42,7 @@ export default function LoginForm() {
|
||||
const [password, setPassword] = useState("")
|
||||
const [error, setError] = useState("")
|
||||
const [isLoading, setIsLoading] = useState(false)
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const [emailChecked, setEmailChecked] = useState(false)
|
||||
const mountedRef = useRef(true)
|
||||
const passkeyInitiatedRef = useRef(false)
|
||||
|
||||
Reference in New Issue
Block a user