diff --git a/src/components/menu.jsx b/src/components/menu.jsx index 92d67db5..bca5dcb5 100644 --- a/src/components/menu.jsx +++ b/src/components/menu.jsx @@ -3,6 +3,7 @@ import { useSnapshot } from 'valtio'; import { api } from '../utils/api'; import states from '../utils/states'; +import { getCurrentAccount } from '../utils/store-utils'; import Icon from './icon'; import MenuLink from './MenuLink'; @@ -10,6 +11,7 @@ import MenuLink from './MenuLink'; function NavMenu(props) { const snapStates = useSnapshot(states); const { instance, authenticated } = api(); + const currentAccount = getCurrentAccount(); // Home = Following // But when in multi-column mode, Home becomes columns of anything @@ -102,6 +104,11 @@ function NavMenu(props) { {authenticated && ( <> + {currentAccount?.info?.id && ( + + Profile + + )} { states.showAccounts = true;