diff --git a/src/js/components/Select/index.tsx b/src/js/components/Select/index.tsx index 336e6b4..643a3c0 100644 --- a/src/js/components/Select/index.tsx +++ b/src/js/components/Select/index.tsx @@ -41,7 +41,7 @@ function Select({ value, children: options, className }: Props) { e.stopPropagation(); const { ref } = n.props; setOpen(!isOpen); - ref.current?.click(); + ref?.current?.click(); }} > {n}