From 830ac3b7bf051fce3ed6bfa202c136b584121205 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz <43585069+Sharqiewicz@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:56:57 +0200 Subject: [PATCH] display asset icons in AssetDropdownSelector (#526) --- src/components/Selector/DropdownSelector.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Selector/DropdownSelector.tsx b/src/components/Selector/DropdownSelector.tsx index 73dfbc14..85f7b13f 100644 --- a/src/components/Selector/DropdownSelector.tsx +++ b/src/components/Selector/DropdownSelector.tsx @@ -1,4 +1,5 @@ import { Dropdown } from 'react-daisyui'; +import { getIcon } from '../../shared/AssetIcons'; interface Props { items: T[]; @@ -25,6 +26,7 @@ function DropdownSelector(props: onChange(item); }} > + {item.displayName} ))}