Skip to content

Commit

Permalink
fix <DropdownMenu.SubTrigger> icon; unknown network typo (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbktl authored Oct 18, 2024
1 parent 322df8d commit e30555c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-cobras-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@status-im/components": patch
---

fix <DropdownMenu.SubTrigger /> icon; unknown network typo
2 changes: 1 addition & 1 deletion packages/colors/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const networks = {
hermez: 'rgba(235 132 98 / 100%)',
optimism: 'rgba(231 110 110 / 100%)',
polygon: 'rgba(173 113 243 / 100%)',
unknow: 'rgba(238 242 245 / 100%)',
unknown: 'rgba(238 242 245 / 100%)',
'x-dai': 'rgba(63 192 189 / 100%)',
'zk-sync': 'rgba(159 160 254 / 100%)',
}
4 changes: 2 additions & 2 deletions packages/components/src/dropdown-menu/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { cloneElement, forwardRef, useId } from 'react'

import * as DropdownMenu from '@radix-ui/react-dropdown-menu'
import {
ArrowRightIcon,
CheckIcon,
ChevronRightIcon,
ExternalIcon,
SearchIcon,
} from '@status-im/icons/20'
Expand Down Expand Up @@ -301,7 +301,7 @@ export const SubTrigger = (props: SubTriggerProps) => {
<span className={iconStyles({ danger })}>{cloneElement(icon)}</span>
)}
<span className={labelStyles({ danger })}>{label}</span>
<ArrowRightIcon className="text-neutral-50" />
<ChevronRightIcon className="text-neutral-50" />
</DropdownMenu.SubTrigger>
)
}
Expand Down

0 comments on commit e30555c

Please sign in to comment.