Skip to content

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.

minor

Roman Pominovcbe1c123ca41
diff --git a/apps/designer/app/routes/designer/$projectId.tsx b/apps/designer/app/routes/designer/$projectId.tsx
index 055447a81f..7f15cab11b 100644
--- a/apps/designer/app/routes/designer/$projectId.tsx
+++ b/apps/designer/app/routes/designer/$projectId.tsx
@@ -57,10 +57,6 @@ export const DesignerRoute = () => {
const data = useLoaderData<Data | Error>();
useAction();
- if (data === undefined) {
- return <ErrorMessage message="No data" />;
- }
-
if ("errors" in data) {
return <ErrorMessage message={data.errors} />;
}