diff --git a/components/nav/common.js b/components/nav/common.js index 0e9d2e5f..a032810f 100644 --- a/components/nav/common.js +++ b/components/nav/common.js @@ -160,24 +160,16 @@ export function NavWalletSummary ({ className }) { ) } -export const Indicator = ({ superscript }) => { - if (superscript) { - return ( - - - {' '} - - - ) - } - +export const Indicator = () => { return ( -
- {' '} -
+ + + {' '} + + ) } @@ -195,7 +187,7 @@ export function MeDropdown ({ me, dropNavKey }) {
{`@${me.name}`} - {indicator && } + {indicator && }
@@ -203,8 +195,10 @@ export function MeDropdown ({ me, dropNavKey }) { - profile - {profileIndicator && } +
+ profile + {profileIndicator && } +
@@ -212,8 +206,10 @@ export function MeDropdown ({ me, dropNavKey }) { - wallets - {walletIndicator && } +
+ wallets + {walletIndicator && } +
diff --git a/components/nav/mobile/offcanvas.js b/components/nav/mobile/offcanvas.js index 09e60219..c996ef01 100644 --- a/components/nav/mobile/offcanvas.js +++ b/components/nav/mobile/offcanvas.js @@ -28,10 +28,14 @@ export default function OffCanvas ({ me, dropNavKey }) { const profileIndicator = me && !me.bioId const walletIndicator = useWalletIndicator() + const indicator = profileIndicator || walletIndicator return ( <> - +
+ + {indicator && } +
@@ -53,8 +57,10 @@ export default function OffCanvas ({ me, dropNavKey }) { <> - profile - {profileIndicator && } +
+ profile + {profileIndicator && } +
@@ -62,8 +68,10 @@ export default function OffCanvas ({ me, dropNavKey }) { - wallets - {walletIndicator && } +
+ wallets + {walletIndicator && } +
@@ -93,7 +101,10 @@ export default function OffCanvas ({ me, dropNavKey }) {
- @{me?.name || 'anon'} +
+ @{me?.name || 'anon'} + {indicator && } +