From 517616f21aa3644103b185884e2c233056e316d8 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Mon, 10 May 2021 15:22:00 -0700 Subject: Removed unneeded ref variables --- src/utils/comments.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/utils') diff --git a/src/utils/comments.tsx b/src/utils/comments.tsx index d7091d1e..0d551682 100644 --- a/src/utils/comments.tsx +++ b/src/utils/comments.tsx @@ -78,14 +78,13 @@ export const renderTextWithMentions: React.FC = ({ ); }; -export const mentionPartTypes: (style: 'blue' | 'white', textRef: any) => PartType[] = ( +export const mentionPartTypes: (style: 'blue' | 'white') => PartType[] = ( style, - textRef ) => { return [ { trigger: '@', - renderSuggestions: (props) => , + renderSuggestions: (props) => , allowedSpacesCount: 0, isInsertSpaceAfterMention: true, textStyle: -- cgit v1.2.3-70-g09d2