File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
apps/kyberswap-interface/src Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { ReactComponent as OverviewIcon } from 'assets/svg/earn/ic_earn_overview
77import { ReactComponent as PoolsIcon } from 'assets/svg/earn/ic_earn_pools.svg'
88import { ReactComponent as PositionsIcon } from 'assets/svg/earn/ic_earn_positions.svg'
99import { ReactComponent as FarmingIcon } from 'assets/svg/earn/ic_farming.svg'
10+ import { ReactComponent as ListIcon } from 'assets/svg/ic_exit.svg'
1011import { ReactComponent as KemIcon } from 'assets/svg/kyber/kem.svg'
1112import NavGroup from 'components/Header/groups/NavGroup'
1213import { DropdownTextAnchor , StyledNavLink } from 'components/Header/styleds'
@@ -25,6 +26,7 @@ const EarnNavGroup = () => {
2526 APP_PATHS . EARN_POOLS ,
2627 APP_PATHS . EARN_POSITIONS ,
2728 APP_PATHS . EARN_POSITION_DETAIL ,
29+ APP_PATHS . EARN_SMART_EXIT ,
2830 ] . some ( path => pathname . includes ( path ) )
2931
3032 return (
@@ -102,6 +104,12 @@ const EarnNavGroup = () => {
102104 { t `My Positions` }
103105 </ Flex >
104106 </ StyledNavLink >
107+ < StyledNavLink data-testid = "earn-positions-nav-link" to = { { pathname : `${ APP_PATHS . EARN_SMART_EXIT } ` } } >
108+ < Flex sx = { { gap : '12px' } } alignItems = "center" >
109+ < ListIcon width = { 16 } height = { 16 } />
110+ { t `Smart Exit Orders` }
111+ </ Flex >
112+ </ StyledNavLink >
105113 </ Flex >
106114 }
107115 />
You can’t perform that action at this time.
0 commit comments