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
fix ts
Sara Vieira43f4d20f402f
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/index.ts b/apps/designer/app/designer/features/sidebar-left/panels/index.tsindex 0136118cfd..8b7896fe93 100644--- a/apps/designer/app/designer/features/sidebar-left/panels/index.ts+++ b/apps/designer/app/designer/features/sidebar-left/panels/index.ts@@ -2,4 +2,4 @@ import * as components from "./components";import * as tree from "./tree";import * as imageUpload from "./image-upload";-export const panels = { components, tree, imageUpload };+export const panels = { components, tree, imageUpload } as const;diff --git a/apps/designer/app/designer/features/sidebar-left/types.ts b/apps/designer/app/designer/features/sidebar-left/types.tsindex 5e780a2db0..dc658bb5f1 100644--- a/apps/designer/app/designer/features/sidebar-left/types.ts+++ b/apps/designer/app/designer/features/sidebar-left/types.ts@@ -1,3 +1,3 @@-import * as tabs from "./panels";+import { panels } from "./panels";-export type TabName = keyof typeof tabs | "none";+export type TabName = keyof typeof panels | "none";