Skip to content

Commit

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

Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Oct 2, 2024
1 parent c22ed15 commit 41804e1
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

1 comment on commit 41804e1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 41804e1.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11137913917
📝 Reported issues:

Please sign in to comment.