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.

chore: add unused ref to fix the warning (#4062)

Oleg Isonen74420860cbfb
diff --git a/packages/sdk-components-react-radix/src/select.tsx b/packages/sdk-components-react-radix/src/select.tsx
index ffed27c5f7..313915ad64 100644
--- a/packages/sdk-components-react-radix/src/select.tsx
+++ b/packages/sdk-components-react-radix/src/select.tsx
@@ -25,7 +25,7 @@ import {
} from "@webstudio-is/react-sdk/runtime";
export const Select = forwardRef<HTMLDivElement, ComponentProps<typeof Root>>(
- ({ value, defaultValue, ...props }) => {
+ ({ value, defaultValue, ...props }, _ref) => {
return <Root {...props} defaultValue={value ?? defaultValue} />;
}
);