Răsfoiți Sursa

fix for lint

WNomunomu 2 ani în urmă
părinte
comite
72ce418429

+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/Toolbar/EmojiButton.tsx

@@ -73,7 +73,7 @@ export const EmojiButton: FC<Props> = (props) => {
   const view = codeMirrorEditor?.view;
 
   if (view == null) {
-    return '';
+    return <></>;
   }
 
   const cursorIndex = view?.state.selection.main.head;