Skip to content

Commit a147dd8

Browse files
committed
feat: adjust button variant and data spotlight type ids
1 parent aaefb8e commit a147dd8

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

apps/web/src/routes/_app/datahub/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,13 @@ const RouteComponent = () => {
185185
onValueChange={(value: string) => setSearchString(value)}
186186
/>
187187
<Dialog open={isLookupOpen} onOpenChange={setIsLookupOpen}>
188-
<Dialog.Trigger>
188+
<Dialog.Trigger asChild>
189189
<Button
190-
className="[&>input]:text-foreground [&>input]:placeholder-foreground grow gap-1"
191-
data-testid="datahub-subject-lookup-search"
192-
id="subject-lookup-search-bar"
190+
className="[&>input]:text-foreground [&>input]:placeholder-foreground gap-1"
191+
data-spotlight-type="subject-lookup-search-button"
192+
data-testid="subject-lookup-search-button"
193+
id="subject-lookup-search-button"
194+
variant="outline"
193195
>
194196
<UserSearchIcon />{' '}
195197
{t({

0 commit comments

Comments
 (0)