Add a missing parameter to useSelect call
This commit is contained in:
parent
bb9748b2cc
commit
79bdee916b
|
@ -2,11 +2,11 @@ import { useSelect } from '@wordpress/data';
|
|||
import { InterfaceSkeleton, FullscreenMode } from '@wordpress/interface';
|
||||
import { BlockBreadcrumb, BlockCanvas, store as blockEditorStore } from '@wordpress/block-editor';
|
||||
|
||||
export default function BlockEditor({ rootClientId }) {
|
||||
export default function BlockEditor() {
|
||||
const styles = useSelect(( select ) => {
|
||||
const { getSettings } = select( blockEditorStore );
|
||||
return getSettings().styles;
|
||||
});
|
||||
}, []);
|
||||
return (
|
||||
<>
|
||||
<FullscreenMode isActive={ true } />
|
||||
|
|
Loading…
Reference in New Issue