Skip to content

Commit

Permalink
[CoW AMM deployer] Add missing tokens warning (#626)
Browse files Browse the repository at this point in the history
* chore: add missing tokens warning

* run formatter
  • Loading branch information
yvesfracari authored Mar 10, 2024
1 parent 7e48394 commit de6f926
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/cow-amm-deployer/src/components/TokenSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ export function TokenSelect({
className="h-9"
onValueChange={(search: string) => setSearchQuery(search)}
/>
{tokens.filter(filterTokens).length === 0 && (
<CommandItem disabled>No tokens found on the Safe</CommandItem>
)}
{tokens.filter(filterTokens).map((token) => (
<CommandItem
key={token.tokenInfo.address}
Expand Down

0 comments on commit de6f926

Please sign in to comment.