diff --git a/packages/edit-site/src/components/global-styles/ui.js b/packages/edit-site/src/components/global-styles/ui.js index 7469282abb0d4..748c6e8481cee 100644 --- a/packages/edit-site/src/components/global-styles/ui.js +++ b/packages/edit-site/src/components/global-styles/ui.js @@ -128,7 +128,7 @@ function GlobalStylesRevisionsMenu() { }, [] ); const { useGlobalStylesReset } = unlock( blockEditorPrivateApis ); const [ canReset, onReset ] = useGlobalStylesReset(); - const { goTo, location } = useNavigator(); + const { goTo } = useNavigator(); const { setEditorCanvasContainerView } = unlock( useDispatch( editSiteStore ) ); @@ -149,7 +149,6 @@ function GlobalStylesRevisionsMenu() { { hasRevisions && ( { revisionsCount }