Skip to content

Commit 523662a

Browse files
committed
Use Spinner for loading
1 parent 3b3276e commit 523662a

File tree

1 file changed

+2
-9
lines changed
  • packages/edit-site/src/components/app

1 file changed

+2
-9
lines changed

packages/edit-site/src/components/app/index.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
/**
22
* WordPress dependencies
33
*/
4-
import { SlotFillProvider } from '@wordpress/components';
4+
import { SlotFillProvider, Spinner } from '@wordpress/components';
55
import { Fragment, lazy, Suspense } from '@wordpress/element';
66
import { UnsavedChangesWarning } from '@wordpress/editor';
77
import { store as noticesStore } from '@wordpress/notices';
88
import { useDispatch } from '@wordpress/data';
99
import { __, sprintf } from '@wordpress/i18n';
1010
import { PluginArea } from '@wordpress/plugins';
11-
import { Icon, wordpress } from '@wordpress/icons';
1211

1312
/**
1413
* Internal dependencies
@@ -39,13 +38,7 @@ const LoadingScreen = () => (
3938
height: '100%',
4039
} }
4140
>
42-
<Icon
43-
icon={ wordpress }
44-
size="96"
45-
style={ {
46-
animation: 'loadingpulse 1s linear infinite',
47-
} }
48-
/>
41+
<Spinner />
4942
</div>
5043
</div>
5144
);

0 commit comments

Comments
 (0)