Skip to content

Commit

Permalink
Stripped obsolete code from ComposerWithSuggestions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
artus9033 committed Dec 13, 2023
1 parent 062265e commit b2ff88c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,13 +376,6 @@ function ComposerWithSuggestions({

const onChangeText = useCallback(
(commentValue) => {
if (syncSelectionWithOnChangeTextRef.current) {
setSelection({
start: syncSelectionWithOnChangeTextRef.current.position,
end: syncSelectionWithOnChangeTextRef.current.position,
});
}

updateComment(commentValue, true);

if (isIOSNative && syncSelectionWithOnChangeTextRef.current) {
Expand Down

0 comments on commit b2ff88c

Please sign in to comment.