fix(ui): autoFocus prop should not be used

This commit is contained in:
0xsysr3ll
2025-04-21 16:41:18 +02:00
parent acc059c0aa
commit a0fa320056

View File

@@ -49,7 +49,7 @@ const PlexPinEntry = ({
try {
await onSubmit(pin);
} catch (err: any) {
} catch (err) {
const code = err?.response?.data?.error as string | undefined;
const httpStatus = err?.response?.status;
@@ -114,7 +114,6 @@ const PlexPinEntry = ({
onKeyDown={handleKeyDown}
placeholder="• • • •"
maxLength={4}
autoFocus
pattern="[0-9]{4}"
inputMode="numeric"
/>