diff --git a/packages/interactivity-router/src/index.ts b/packages/interactivity-router/src/index.ts index d23a1e644f5be6..b26fc79be4fb67 100644 --- a/packages/interactivity-router/src/index.ts +++ b/packages/interactivity-router/src/index.ts @@ -223,7 +223,6 @@ interface Store { state: { url: string; navigation: { - isLoading: boolean; hasStarted: boolean; hasFinished: boolean; }; @@ -238,7 +237,6 @@ export const { state, actions } = store< Store >( 'core/router', { state: { url: window.location.href, navigation: { - isLoading: false, hasStarted: false, hasFinished: false, }, @@ -291,7 +289,6 @@ export const { state, actions } = store< Store >( 'core/router', { return; } - navigation.isLoading = true; if ( loadingAnimation ) { navigation.hasStarted = true; navigation.hasFinished = false; @@ -331,7 +328,6 @@ export const { state, actions } = store< Store >( 'core/router', { // Update the navigation status once the the new page rendering // has been completed. - navigation.isLoading = false; if ( loadingAnimation ) { navigation.hasStarted = false; navigation.hasFinished = true;