Skip to content

Commit

Permalink
Use Spinner for loading
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Aug 5, 2022
1 parent 3b3276e commit 523662a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/edit-site/src/components/app/index.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -39,13 +38,7 @@ const LoadingScreen = () => (
height: '100%',
} }
>
<Icon
icon={ wordpress }
size="96"
style={ {
animation: 'loadingpulse 1s linear infinite',
} }
/>
<Spinner />
</div>
</div>
);
Expand Down

0 comments on commit 523662a

Please sign in to comment.