Skip to content

Commit

Permalink
Revert "Global style revisions: remove unnecessary goTo navigation …
Browse files Browse the repository at this point in the history
…call (WordPress#65810)"

This reverts commit 7b5f4b2.
  • Loading branch information
huubl authored Oct 2, 2024
1 parent 2fa4551 commit 4889ff7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4889ff7

Please sign in to comment.