From 53be3f2fc6bf95640b7ce9c94c7b055407a0154a 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 f321b19dc1de8d..b197a4c4b7ec2d 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'; @@ -110,11 +110,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 ea48a3a1d8e358..0d63500f338853 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 ( - - - - - - - + + + + + + + + + ); }