Skip to content

Commit

Permalink
Remove remaining private usage of ProgressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed May 24, 2024
1 parent ceb2840 commit 9b3db94
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/edit-site/src/components/canvas-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
* WordPress dependencies
*/
import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
import { privateApis as componentsPrivateApis } from '@wordpress/components';
import {
privateApis as componentsPrivateApis,
ProgressBar,
} from '@wordpress/components';
import { store as coreStore } from '@wordpress/core-data';
import { useSelect } from '@wordpress/data';

Expand All @@ -12,7 +15,7 @@ import { useSelect } from '@wordpress/data';
import { unlock } from '../../lock-unlock';
import { useStylesPreviewColors } from '../global-styles/hooks';

const { ProgressBar, Theme } = unlock( componentsPrivateApis );
const { Theme } = unlock( componentsPrivateApis );
const { useGlobalStyle } = unlock( blockEditorPrivateApis );

export default function CanvasLoader( { id } ) {
Expand Down

0 comments on commit 9b3db94

Please sign in to comment.