diff --git a/packages/edit-site/src/components/site-editor-routes/README.md b/packages/edit-site/src/components/site-editor-routes/README.md index 64121c8bd9a6b..06e2cfdd331f1 100644 --- a/packages/edit-site/src/components/site-editor-routes/README.md +++ b/packages/edit-site/src/components/site-editor-routes/README.md @@ -2,7 +2,7 @@ ## Areas -When `canvasMode` is not `edit`, the areas avaliable to use are: +When `canvasMode` is not `edit`, the areas available to use are: | Area | Non-mobile viewport | Mobile viewport | | --- | --- | --- | @@ -12,7 +12,7 @@ When `canvasMode` is not `edit`, the areas avaliable to use are: | `edit` | Rendered if provided. | Not rendered. | | `mobile` | Not rendered | Rendered as full-screen, if provided. | -When `canvasMode` is `edit`, the areas avaliable to use are: +When `canvasMode` is `edit`, the areas available to use are: | Area | Non-mobile viewport | Mobile viewport | | --- | --- | --- | diff --git a/packages/edit-site/src/components/site-editor-routes/index.js b/packages/edit-site/src/components/site-editor-routes/index.js index ddc37b353885c..4887436dc2ed1 100644 --- a/packages/edit-site/src/components/site-editor-routes/index.js +++ b/packages/edit-site/src/components/site-editor-routes/index.js @@ -15,7 +15,6 @@ import { navigationViewRoute } from './navigation-view'; import { navigationEditRoute } from './navigation-edit'; import { navigationItemEditRoute } from './navigation-item-edit'; import { navigationItemViewRoute } from './navigation-item-view'; -import { stylesEditRoute } from './styles-edit'; import { stylesViewRoute } from './styles-view'; import { patternsEditRoute } from './patterns-edit'; import { patternsViewRoute } from './patterns-view'; @@ -40,7 +39,6 @@ const routes = [ patternsViewRoute, patternsEditRoute, stylesViewRoute, - stylesEditRoute, navigationItemViewRoute, navigationItemEditRoute, navigationViewRoute, diff --git a/packages/edit-site/src/components/site-editor-routes/styles-edit.js b/packages/edit-site/src/components/site-editor-routes/styles-edit.js deleted file mode 100644 index e8225a8f526eb..0000000000000 --- a/packages/edit-site/src/components/site-editor-routes/styles-edit.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Internal dependencies - */ -import Editor from '../editor'; -import SidebarNavigationScreenGlobalStyles from '../sidebar-navigation-screen-global-styles'; -import GlobalStylesUIWrapper from '../sidebar-global-styles-wrapper'; - -export const stylesEditRoute = { - name: 'styles-edit', - match: ( params ) => { - return ( - params.path && - params.path.startsWith( '/wp_global_styles' ) && - params.canvas !== 'edit' - ); - }, - areas: { - content: , - sidebar: , - preview: , - mobile: , - }, - widths: { - content: 380, - }, -};