Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperhuangg committed Jul 9, 2024
1 parent dd79314 commit 4ae11d5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ function ComposerWithSuggestions(
const [composerHeight, setComposerHeight] = useState(0);

const textInputRef = useRef<TextInput | null>(null);
const insertedEmojisRef = useRef<Emoji[]>([]);

const syncSelectionWithOnChangeTextRef = useRef<SyncSelection | null>(null);

Expand Down Expand Up @@ -411,7 +410,6 @@ function ComposerWithSuggestions(
if (suggestionsRef.current) {
suggestionsRef.current.resetSuggestions();
}
insertedEmojisRef.current = [...insertedEmojisRef.current, ...newEmojis];
}
}
const newCommentConverted = convertToLTRForComposer(newComment);
Expand Down

0 comments on commit 4ae11d5

Please sign in to comment.