From 7b5f4b21d1d611b1c0dbd60cf04077ad0be29d65 Mon Sep 17 00:00:00 2001 From: Ramon Date: Wed, 2 Oct 2024 14:38:06 +1000 Subject: [PATCH] Global style revisions: remove unnecessary `goTo` navigation call (#65810) Co-authored-by: ramonjd Co-authored-by: Mamaduka --- .../src/components/global-styles/screen-revisions/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/screen-revisions/index.js b/packages/edit-site/src/components/global-styles/screen-revisions/index.js index 89af705cd92504..b980d199e7be30 100644 --- a/packages/edit-site/src/components/global-styles/screen-revisions/index.js +++ b/packages/edit-site/src/components/global-styles/screen-revisions/index.js @@ -72,7 +72,6 @@ function ScreenRevisions() { ); const onCloseRevisions = () => { - goTo( '/' ); // Return to global styles main panel. const canvasContainerView = editorCanvasContainerView === 'global-styles-revisions:style-book' ? 'style-book'