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
lint
Oleg Isonene711c8d30564
diff --git a/apps/designer/app/routes/$.tsx b/apps/designer/app/routes/$.tsxindex 86530cf256..69a2cefbb8 100644--- a/apps/designer/app/routes/$.tsx+++ b/apps/designer/app/routes/$.tsx@@ -17,7 +17,7 @@ import {dashboardPath,} from "~/shared/router-utils";import { db } from "@webstudio-is/project/server";-import { DynamicLinksFunction } from "remix-utils";+import type { DynamicLinksFunction } from "remix-utils";type Data =| (CanvasData & { env: Env; mode: BuildMode })@@ -43,7 +43,6 @@ export const meta: MetaFunction = ({ data }: { data: Data }) => {export const loader: LoaderFunction = async ({request,}): Promise<Data | Response> => {- console.log(111);try {const buildParams = getBuildParams(request);diff --git a/apps/designer/app/routes/index.tsx b/apps/designer/app/routes/index.tsxindex 3ebf1fc3b3..f25a900ee2 100644--- a/apps/designer/app/routes/index.tsx+++ b/apps/designer/app/routes/index.tsx@@ -3,7 +3,8 @@// see https://github.com/remix-run/remix/issues/2098#issuecomment-1049262218 .// To solve this, we're re-exporting the $.tsx route API in index.tsx-import { LoaderFunction, MetaFunction } from "@remix-run/node";+import type { LoaderFunction, MetaFunction } from "@remix-run/node";+import type { DynamicLinksFunction } from "remix-utils";import CatchAllContnet, {loader as catchAllloader,meta as catchAllmeta,@@ -15,7 +16,8 @@ import CatchAllContnet, {export const meta: MetaFunction = (args) => catchAllmeta(args);export const loader: LoaderFunction = (args) => catchAllloader(args);-export const dynamicLinks = (args: any) => catchAllDynamicLinks(args);+export const dynamicLinks: DynamicLinksFunction = (args) =>+ catchAllDynamicLinks(args);export const handle = { dynamicLinks };const Content = () => <CatchAllContnet />;export default Content;