refactor: remove unused code

pull/31/head
fantasticit 2022-05-02 15:31:03 +08:00
parent d2bec0f448
commit 578753c1f6
1 changed files with 0 additions and 4 deletions

View File

@ -43,11 +43,7 @@ import { Iframe } from './menus/iframe';
import { Table } from './menus/table'; import { Table } from './menus/table';
import { Mind } from './menus/mind'; import { Mind } from './menus/mind';
import useTilg from 'tilg';
const _MenuBar: React.FC<{ editor: any }> = ({ editor }) => { const _MenuBar: React.FC<{ editor: any }> = ({ editor }) => {
useTilg();
if (!editor) return null; if (!editor) return null;
return ( return (