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}
|
nullable={true}
|
||||||
className={'text-sm'}
|
className={'text-sm'}
|
||||||
>
|
>
|
||||||
{({ open }) => (
|
{() => (
|
||||||
<>
|
<>
|
||||||
{!open && setQuery('')}
|
|
||||||
<Combobox.Label className="label justify-start gap-2 text-base">
|
<Combobox.Label className="label justify-start gap-2 text-base">
|
||||||
Add to Group
|
Add to Group
|
||||||
<InfoTooltip text="Question will be displayed alongside the other questions in the group." />
|
<InfoTooltip text="Question will be displayed alongside the other questions in the group." />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user