Skip to content

Commit

Permalink
🐛 fix(llm) password crash on input focus
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasWerey committed Feb 19, 2025
1 parent 3fca869 commit a37849d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ledger-live-mobile/src/components/PasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ const PasswordInput = ({
const [isFocused, setIsFocused] = useState(false);
const ref = useRef<TextInput>(null);

useEffect(() => {
/*useEffect(() => {
if (autoFocus) {
ref.current?.focus();
}
}, [autoFocus]);
}, [autoFocus]);*/

const wrappedOnFocus = useCallback(() => {
setIsFocused(true);
Expand Down

0 comments on commit a37849d

Please sign in to comment.