Skip to content

Commit 4da868a

Browse files
reset variable value
1 parent 233ab75 commit 4da868a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controls/listItemComments/components/AddComment/AddComment.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const AddComment: React.FunctionComponent<IAddCommentProps> = (props: IAd
2727
let _reactMentionStyles = reactMentionStyles;
2828

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

0 commit comments

Comments
 (0)