From cae7bb735581cbf71b503e40d6cebf7356d82d62 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 29 Mar 2019 16:15:25 -0400 Subject: [PATCH] Edit Post: Remove SlotFillProvider as rendered by block editor --- .../src/components/provider/index.js | 10 +++---- packages/edit-post/src/editor.js | 30 ++++++++++--------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/block-editor/src/components/provider/index.js b/packages/block-editor/src/components/provider/index.js index 43f336325434d..018b639eddb5d 100644 --- a/packages/block-editor/src/components/provider/index.js +++ b/packages/block-editor/src/components/provider/index.js @@ -2,7 +2,7 @@ * WordPress dependencies */ import { Component } from '@wordpress/element'; -import { DropZoneProvider, SlotFillProvider } from '@wordpress/components'; +import { DropZoneProvider } from '@wordpress/components'; import { withDispatch } from '@wordpress/data'; import { compose } from '@wordpress/compose'; @@ -121,11 +121,9 @@ class BlockEditorProvider extends Component { const { children } = this.props; return ( - - - { children } - - + + { children } + ); } } diff --git a/packages/edit-post/src/editor.js b/packages/edit-post/src/editor.js index ea48a3a1d8e35..0d63500f33885 100644 --- a/packages/edit-post/src/editor.js +++ b/packages/edit-post/src/editor.js @@ -10,7 +10,7 @@ import { size, map, without } from 'lodash'; import { withSelect } from '@wordpress/data'; import { EditorProvider, ErrorBoundary, PostLockedModal } from '@wordpress/editor'; import { StrictMode, Component } from '@wordpress/element'; -import { KeyboardShortcuts } from '@wordpress/components'; +import { KeyboardShortcuts, SlotFillProvider } from '@wordpress/components'; /** * Internal dependencies @@ -87,19 +87,21 @@ class Editor extends Component { return ( - - - - - - - + + + + + + + + + ); }