Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
rename to PagesPanel
Roman Pominov450a54a4ef5c
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/pages/pages.tsx b/apps/designer/app/designer/features/sidebar-left/panels/pages/pages.tsxindex f23c633d44..acd8d6aa08 100644--- a/apps/designer/app/designer/features/sidebar-left/panels/pages/pages.tsx+++ b/apps/designer/app/designer/features/sidebar-left/panels/pages/pages.tsx@@ -3,7 +3,7 @@ import { type Publish } from "~/shared/pubsub";import { PageIcon } from "@webstudio-is/icons";import type { TabName } from "../../types";import { Header } from "../../lib/header";-import { type Page, type Pages as PagesType } from "@webstudio-is/project";+import { type Page, type Pages } from "@webstudio-is/project";import { useMemo } from "react";import { useNavigate } from "react-router-dom";import { type Config } from "~/config";@@ -32,7 +32,7 @@ type PagesTreeNode =data: Page;};-const toTreeData = (pages: PagesType): PagesTreeNode => {+const toTreeData = (pages: Pages): PagesTreeNode => {return {type: "folder",id: "root",@@ -68,7 +68,7 @@ const staticTreeProps = {},};-const Pages = ({+const PagesPanel = ({onClose,onSelect,selectedPageId,@@ -115,7 +115,7 @@ export const TabContent = (props: TabContentProps) => {}return (- <Pages+ <PagesPanelonClose={() => props.onSetActiveTab("none")}onSelect={handleSelect}selectedPageId={currentPageId}