This commit is contained in:
Mike Cao 2020-09-09 16:43:37 -07:00
parent 6bbe7800c2
commit ff9d4f8585

View File

@ -22,8 +22,9 @@ export default function Header() {
</div>
</div>
<div className="col-12 col-md-9">
{user ? (
<div className={styles.nav}>
{user ? (
<>
<Link href="/dashboard">
<FormattedMessage id="header.nav.dashboard" defaultMessage="Dashboard" />
</Link>
@ -32,12 +33,13 @@ export default function Header() {
</Link>
<LanguageButton menuAlign="right" />
<UserButton />
</div>
</>
) : (
<LanguageButton menuAlign="right" />
)}
</div>
</div>
</div>
</header>
);
}