Skip to content

Commit

Permalink
Fix the styles route
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 15, 2024
1 parent 8fb4f09 commit 9ca090e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/edit-site/src/components/layout/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ export default function useLayoutAreas() {

// Fallback shows the home page preview
return {
areas: { preview: <Editor isLoading={ isSiteEditorLoading } /> },
areas: {
preview: <Editor isLoading={ isSiteEditorLoading } />,
mobile:
canvas === 'edit' ? (
<Editor isLoading={ isSiteEditorLoading } />
) : undefined,
},
};
}

0 comments on commit 9ca090e

Please sign in to comment.