Skip to content

Commit

Permalink
fix: custom messages on convert page dropdown (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
creed-victor authored Oct 30, 2024
1 parent d3d711e commit d953df3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-paws-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend': patch
---

fix: custom messages on convert page dropdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const AssetDropdownWithFilters: FC<AssetDropdownWithFiltersProps> = ({

const getAssetRenderer = useCallback(
(token: string) =>
token ? (
token && tokenOptions.find(item => item.value === token) ? (
<AssetRenderer
showAssetLogo
asset={token}
Expand All @@ -47,7 +47,7 @@ export const AssetDropdownWithFilters: FC<AssetDropdownWithFiltersProps> = ({
) : (
t(translations.common.select)
),
[currentChainId],
[currentChainId, tokenOptions],
);

const handleCategoryClick = useCallback(
Expand Down

0 comments on commit d953df3

Please sign in to comment.