Skip to content

Commit

Permalink
reset variable value
Browse files Browse the repository at this point in the history
  • Loading branch information
joelfmrodrigues committed Aug 6, 2021
1 parent 233ab75 commit 4da868a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const AddComment: React.FunctionComponent<IAddCommentProps> = (props: IAd
let _reactMentionStyles = reactMentionStyles;

const _onChange = useCallback((event, newValue: string, newPlainTextValue: string, mentions: MentionItem[]) => {
_reactMentionStyles = reactMentionStyles;
if (newValue) {
setSingleLine(false);
_reactMentionStyles["&multiLine"].control = { height: 63 };
Expand Down

0 comments on commit 4da868a

Please sign in to comment.