Skip to content

Commit e30555c

Browse files
authored
fix <DropdownMenu.SubTrigger> icon; unknown network typo (#629)
1 parent 322df8d commit e30555c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changeset/polite-cobras-accept.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@status-im/components": patch
3+
---
4+
5+
fix <DropdownMenu.SubTrigger /> icon; unknown network typo

packages/colors/src/networks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const networks = {
44
hermez: 'rgba(235 132 98 / 100%)',
55
optimism: 'rgba(231 110 110 / 100%)',
66
polygon: 'rgba(173 113 243 / 100%)',
7-
unknow: 'rgba(238 242 245 / 100%)',
7+
unknown: 'rgba(238 242 245 / 100%)',
88
'x-dai': 'rgba(63 192 189 / 100%)',
99
'zk-sync': 'rgba(159 160 254 / 100%)',
1010
}

packages/components/src/dropdown-menu/dropdown-menu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { cloneElement, forwardRef, useId } from 'react'
22

33
import * as DropdownMenu from '@radix-ui/react-dropdown-menu'
44
import {
5-
ArrowRightIcon,
65
CheckIcon,
6+
ChevronRightIcon,
77
ExternalIcon,
88
SearchIcon,
99
} from '@status-im/icons/20'
@@ -301,7 +301,7 @@ export const SubTrigger = (props: SubTriggerProps) => {
301301
<span className={iconStyles({ danger })}>{cloneElement(icon)}</span>
302302
)}
303303
<span className={labelStyles({ danger })}>{label}</span>
304-
<ArrowRightIcon className="text-neutral-50" />
304+
<ChevronRightIcon className="text-neutral-50" />
305305
</DropdownMenu.SubTrigger>
306306
)
307307
}

0 commit comments

Comments
 (0)