Skip to content

Commit

Permalink
try fix 42916 loop crash
Browse files Browse the repository at this point in the history
  • Loading branch information
badeggg committed Jun 9, 2024
1 parent 4176e95 commit f1fc716
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2606,7 +2606,7 @@ SPEC CHECKSUMS:
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Turf: 13d1a92d969ca0311bbc26e8356cca178ce95da2
VisionCamera: 1394a316c7add37e619c48d7aa40b38b954bf055
Yoga: 64cd2a583ead952b0315d5135bf39e053ae9be70
Yoga: 1b901a6d6eeba4e8a2e8f308f708691cdb5db312

PODFILE CHECKSUM: 66a5c97ae1059e4da1993a4ad95abe5d819f555b

Expand Down
3 changes: 3 additions & 0 deletions src/hooks/useAutoFocusInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export default function useAutoFocusInput(): UseAutoFocusInput {

const inputCallbackRef = (ref: TextInput | null) => {
inputRef.current = ref;
if (isInputInitialized) {
return;
}
setIsInputInitialized(true);
};

Expand Down

0 comments on commit f1fc716

Please sign in to comment.