Skip to content

Commit 0494a5c

Browse files
render full chain in network selector
1 parent de2a454 commit 0494a5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/dashboard/src/@/components/blocks/select-with-search.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ export const SelectWithSearch = React.forwardRef<
129129
selectedOption && "text-foreground",
130130
)}
131131
>
132-
{selectedOption?.label || placeholder}
132+
{renderOption && selectedOption
133+
? renderOption(selectedOption)
134+
: selectedOption?.label || placeholder}
133135
</span>
134136
<ChevronDown className="size-4 cursor-pointer text-muted-foreground" />
135137
</div>

0 commit comments

Comments
 (0)