Commit 839a7010 authored by isstuev's avatar isstuev

change order

parent c323fd03
...@@ -68,7 +68,11 @@ export default function useNavItems(): ReturnType { ...@@ -68,7 +68,11 @@ export default function useNavItems(): ReturnType {
if (appConfig.L2.isL2Network) { if (appConfig.L2.isL2Network) {
blockchainNavItems = [ blockchainNavItems = [
[ [
topAccounts, txs,
// eslint-disable-next-line max-len
// { text: `Deposits (L1${ rightLineArrow }L2)`, nextRoute: { pathname: '/deposits' as const }, icon: depositsIcon, isActive: pathname === '/deposits', isNewUi: true },
// eslint-disable-next-line max-len
// { text: `Withdrawals (L2${ rightLineArrow }L1)`, nextRoute: { pathname: '/withdrawals' as const }, icon: withdrawalsIcon, isActive: pathname === '/withdrawals', isNewUi: true },
], ],
[ [
blocks, blocks,
...@@ -78,11 +82,7 @@ export default function useNavItems(): ReturnType { ...@@ -78,11 +82,7 @@ export default function useNavItems(): ReturnType {
// { text: 'Output roots', nextRoute: { pathname: '/output-roots' as const }, icon: outputRootsIcon, isActive: pathname === '/output-roots', isNewUi: true }, // { text: 'Output roots', nextRoute: { pathname: '/output-roots' as const }, icon: outputRootsIcon, isActive: pathname === '/output-roots', isNewUi: true },
], ],
[ [
txs, topAccounts,
// eslint-disable-next-line max-len
// { text: `Deposits (L1${ rightLineArrow }L2)`, nextRoute: { pathname: '/deposits' as const }, icon: depositsIcon, isActive: pathname === '/deposits', isNewUi: true },
// eslint-disable-next-line max-len
// { text: `Withdrawals (L2${ rightLineArrow }L1)`, nextRoute: { pathname: '/withdrawals' as const }, icon: withdrawalsIcon, isActive: pathname === '/withdrawals', isNewUi: true },
], ],
// [ // [
// verifiedContracts // verifiedContracts
...@@ -90,9 +90,9 @@ export default function useNavItems(): ReturnType { ...@@ -90,9 +90,9 @@ export default function useNavItems(): ReturnType {
]; ];
} else { } else {
blockchainNavItems = [ blockchainNavItems = [
topAccounts,
blocks,
txs, txs,
blocks,
topAccounts,
// verifiedContracts, // verifiedContracts,
]; ];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment