From 523662a99d060c771928ae8ffe2c627bd3d22ff7 Mon Sep 17 00:00:00 2001 From: Marin Atanasov Date: Tue, 2 Aug 2022 14:28:52 +0300 Subject: [PATCH] Use Spinner for loading --- packages/edit-site/src/components/app/index.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/edit-site/src/components/app/index.js b/packages/edit-site/src/components/app/index.js index 543e7efbe4053c..3c24286889b2e3 100644 --- a/packages/edit-site/src/components/app/index.js +++ b/packages/edit-site/src/components/app/index.js @@ -1,14 +1,13 @@ /** * WordPress dependencies */ -import { SlotFillProvider } from '@wordpress/components'; +import { SlotFillProvider, Spinner } from '@wordpress/components'; import { Fragment, lazy, Suspense } from '@wordpress/element'; import { UnsavedChangesWarning } from '@wordpress/editor'; import { store as noticesStore } from '@wordpress/notices'; import { useDispatch } from '@wordpress/data'; import { __, sprintf } from '@wordpress/i18n'; import { PluginArea } from '@wordpress/plugins'; -import { Icon, wordpress } from '@wordpress/icons'; /** * Internal dependencies @@ -39,13 +38,7 @@ const LoadingScreen = () => ( height: '100%', } } > - + );