@@ -55,7 +55,7 @@ const UnstyledDesktopNav: FunctionComponent = (props) => {
55
55
56
56
const chainId = useCurrentChainId ( )
57
57
58
- const chainName = useCurrentChainKey ( )
58
+ const chainKey = useCurrentChainKey ( )
59
59
60
60
return (
61
61
< div { ...props } data-testid = { 'desktop-nav' } >
@@ -70,14 +70,14 @@ const UnstyledDesktopNav: FunctionComponent = (props) => {
70
70
< div />
71
71
< NavbarItem >
72
72
< NavbarLinkDesktop highlight = { pathname . startsWith ( R . projects ( ) ) } >
73
- < NavLink as = { Link } to = { R . projects ( routeOptions ( chainName ) ) } >
73
+ < NavLink as = { Link } to = { R . projects ( routeOptions ( chainKey ) ) } >
74
74
Projects
75
75
</ NavLink >
76
76
</ NavbarLinkDesktop >
77
77
</ NavbarItem >
78
78
< NavbarItem >
79
79
< NavbarLinkDesktop highlight = { pathname . startsWith ( R . streams ( ) ) } >
80
- < NavLink as = { Link } to = { R . streams ( routeOptions ( chainName ) ) } >
80
+ < NavLink as = { Link } to = { R . streams ( routeOptions ( chainKey ) ) } >
81
81
Streams
82
82
</ NavLink >
83
83
</ NavbarLinkDesktop >
@@ -137,7 +137,7 @@ const UnstyledDesktopNav: FunctionComponent = (props) => {
137
137
navigate (
138
138
R . operator (
139
139
operator . id ,
140
- routeOptions ( chainName ) ,
140
+ routeOptions ( chainKey ) ,
141
141
) ,
142
142
)
143
143
} }
@@ -201,7 +201,7 @@ const UnstyledMobileNav: FunctionComponent<{ className?: string }> = ({ classNam
201
201
202
202
const { pathname } = useLocation ( )
203
203
204
- const chainName = useCurrentChainKey ( )
204
+ const chainKey = useCurrentChainKey ( )
205
205
206
206
return (
207
207
< NavOverlay className = { className } >
@@ -225,12 +225,12 @@ const UnstyledMobileNav: FunctionComponent<{ className?: string }> = ({ classNam
225
225
</ UserInfoMobile >
226
226
) }
227
227
< NavbarLinkMobile highlight = { pathname . startsWith ( R . projects ( ) ) } >
228
- < NavLink as = { Link } to = { R . projects ( routeOptions ( chainName ) ) } >
228
+ < NavLink as = { Link } to = { R . projects ( routeOptions ( chainKey ) ) } >
229
229
Projects
230
230
</ NavLink >
231
231
</ NavbarLinkMobile >
232
232
< NavbarLinkMobile highlight = { pathname . startsWith ( R . streams ( ) ) } >
233
- < NavLink as = { Link } to = { R . streams ( routeOptions ( chainName ) ) } >
233
+ < NavLink as = { Link } to = { R . streams ( routeOptions ( chainKey ) ) } >
234
234
Streams
235
235
</ NavLink >
236
236
</ NavbarLinkMobile >
0 commit comments