Lint fixes

This commit is contained in:
Chris Runnells 2023-06-02 15:08:33 -10:00
parent 12a54f097f
commit 3ae3a0df8d
2 changed files with 7 additions and 8 deletions

View File

@ -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' );