Fix formatting and remove unused imports
This commit is contained in:
parent
5b1a63a69c
commit
9a100b44c9
|
@ -1,5 +1,3 @@
|
||||||
import { useSelect } from '@wordpress/data';
|
|
||||||
import { useEffect } from '@wordpress/element';
|
|
||||||
import { ComplementaryArea } from '@wordpress/interface';
|
import { ComplementaryArea } from '@wordpress/interface';
|
||||||
import { Panel } from '@wordpress/components';
|
import { Panel } from '@wordpress/components';
|
||||||
import { BlockInspector } from '@wordpress/block-editor';
|
import { BlockInspector } from '@wordpress/block-editor';
|
||||||
|
|
|
@ -2,10 +2,10 @@ import { createRoot, StrictMode } from '@wordpress/element';
|
||||||
import { registerCoreBlocks } from '@wordpress/block-library';
|
import { registerCoreBlocks } from '@wordpress/block-library';
|
||||||
import '@wordpress/format-library';
|
import '@wordpress/format-library';
|
||||||
|
|
||||||
registerCoreBlocks();
|
|
||||||
|
|
||||||
import Editor from './Editor';
|
import Editor from './Editor';
|
||||||
|
|
||||||
|
registerCoreBlocks();
|
||||||
|
|
||||||
const root = createRoot(document.querySelector('main'));
|
const root = createRoot(document.querySelector('main'));
|
||||||
root.render(
|
root.render(
|
||||||
<StrictMode>
|
<StrictMode>
|
||||||
|
|
Loading…
Reference in New Issue