Don't setQuery
on group selector component during initial render (#660)
This commit is contained in:
parent
a203f43142
commit
0d282a962c
|
@ -53,9 +53,8 @@ export function GroupSelector(props: {
|
|||
nullable={true}
|
||||
className={'text-sm'}
|
||||
>
|
||||
{({ open }) => (
|
||||
{() => (
|
||||
<>
|
||||
{!open && setQuery('')}
|
||||
<Combobox.Label className="label justify-start gap-2 text-base">
|
||||
Add to Group
|
||||
<InfoTooltip text="Question will be displayed alongside the other questions in the group." />
|
||||
|
|
Loading…
Reference in New Issue
Block a user