diff --git a/src/js/components/Select/index.tsx b/src/js/components/Select/index.tsx index 336e6b4ba..643a3c096 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}