Skip to content

Commit

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

Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored and huubl committed Oct 2, 2024
1 parent b86f415 commit 7b5f4b2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7b5f4b2

Please sign in to comment.