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.

fix upload

Sara Vieira43ed0d6c6505
diff --git a/apps/designer/app/routes/designer/$id.tsx b/apps/designer/app/routes/designer/$id.tsx
index a81c8b573d..a29372937b 100644
--- a/apps/designer/app/routes/designer/$id.tsx
+++ b/apps/designer/app/routes/designer/$id.tsx
@@ -57,7 +57,6 @@ export const action: ActionFunction = async ({ request, params }) => {
return { deletedAsset };
}
- return { errors: "No asset was passed" };
} catch (error) {
if (error instanceof Error) {
return {