From 4889ff76edca9064bdfaa3d2d5485a09be6e9dce Mon Sep 17 00:00:00 2001 From: Huub <50170696+huubl@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:34:19 +0200 Subject: [PATCH] Revert "Global style revisions: remove unnecessary `goTo` navigation call (#65810)" This reverts commit 7b5f4b21d1d611b1c0dbd60cf04077ad0be29d65. --- .../src/components/global-styles/screen-revisions/index.js | 1 + 1 file changed, 1 insertion(+) 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 b980d199e7be30..89af705cd92504 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,6 +72,7 @@ function ScreenRevisions() { ); const onCloseRevisions = () => { + goTo( '/' ); // Return to global styles main panel. const canvasContainerView = editorCanvasContainerView === 'global-styles-revisions:style-book' ? 'style-book'