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 TS error

Andrey Okonetchnikovf5921c125d22
diff --git a/packages/design-system/src/components/text-field.tsx b/packages/design-system/src/components/text-field.tsx
index 7b29ae5751..a258188cc4 100644
--- a/packages/design-system/src/components/text-field.tsx
+++ b/packages/design-system/src/components/text-field.tsx
@@ -191,8 +191,7 @@ export const TextField = React.forwardRef<
</Flex>
)}
- {/* @ts-expect-error - It seems like stitches provide a wrong type for the input element.*/}
- <InputBase ref={inputRef} disabled={disabled} {...textFieldProps} />
+ <InputBase disabled={disabled} {...textFieldProps} ref={inputRef} />
{suffix && (
<Flex