Lint fixes
This commit is contained in:
parent
12a54f097f
commit
3ae3a0df8d
|
@ -1206,8 +1206,7 @@ export const CoreProfilerController = ( {
|
||||||
: undefined;
|
: undefined;
|
||||||
const navigationProgress = currentNodeMeta?.progress; // This value is defined in each state node's meta tag, we can assume it is 0-100
|
const navigationProgress = currentNodeMeta?.progress; // This value is defined in each state node's meta tag, we can assume it is 0-100
|
||||||
const CurrentComponent =
|
const CurrentComponent =
|
||||||
currentNodeMeta?.component ??
|
currentNodeMeta?.component ?? ( () => <ProfileSpinner /> ); // If no component is defined for the state then its a loading state
|
||||||
( () => ( <ProfileSpinner /> ) ); // If no component is defined for the state then its a loading state
|
|
||||||
|
|
||||||
useEffect( () => {
|
useEffect( () => {
|
||||||
document.body.classList.remove( 'woocommerce-admin-is-loading' );
|
document.body.classList.remove( 'woocommerce-admin-is-loading' );
|
||||||
|
|
Loading…
Reference in New Issue