Skip to content

Commit

Permalink
update default value
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwen committed Dec 30, 2024
1 parent 37e6aaa commit 4ceea0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ function ComposerWithSuggestions(

useEffect(() => {
// We use the tag to store the native ID of the text input. Later, we use it in onSelectionChange to pick up the proper text input data.
tag.set(findNodeHandle(textInputRef.current) ?? CONST.);
tag.set(findNodeHandle(textInputRef.current) ?? -1);
}, [tag]);

useFocusedInputHandler(
Expand Down

0 comments on commit 4ceea0b

Please sign in to comment.