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
Update apps/designer/app/routes/designer/$id.tsx
Sara Vieira0149a1403a70
diff --git a/apps/designer/app/routes/designer/$id.tsx b/apps/designer/app/routes/designer/$id.tsxindex 03bcda0e65..a133af2040 100644--- a/apps/designer/app/routes/designer/$id.tsx+++ b/apps/designer/app/routes/designer/$id.tsx@@ -51,10 +51,7 @@ export const action: ActionFunction = async ({ request, params }) => {file: ({ filename }) => filename,}));- const imageInfo = formData.get("image");- ImageUpload.parse(imageInfo);-- if (imageInfo) {+ const imageInfo = ImageUpload.parse(formData.get("image"));const info = imageInfo as ImageUpload;const data = {type: info.type,