mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
chore: fix logout link -- broke layout, will investigate
Signed-off-by: Katalina Okano <git@kat.cafe>
This commit is contained in:
parent
d11e29d4f5
commit
9699c313f9
1 changed files with 6 additions and 5 deletions
|
@ -2,6 +2,7 @@ import Link from 'next/link';
|
|||
import * as React from 'react';
|
||||
import { GoGear, GoSignOut } from 'react-icons/go';
|
||||
import { DiscordUser } from 'roleypoly/common/types';
|
||||
import { CompletelyStylelessLink } from 'roleypoly/design-system/atoms/typography';
|
||||
import { UserAvatarGroup } from 'roleypoly/design-system/molecules/user-avatar-group';
|
||||
import { Base, NavAction } from './UserPopover.styled';
|
||||
|
||||
|
@ -14,16 +15,16 @@ export const UserPopover = (props: UserPopoverProps) => (
|
|||
<UserAvatarGroup user={props.user} preventCollapse={true} />
|
||||
<NavAction>
|
||||
<Link href="/user/settings">
|
||||
<>
|
||||
<CompletelyStylelessLink>
|
||||
Settings <GoGear />
|
||||
</>
|
||||
</CompletelyStylelessLink>
|
||||
</Link>
|
||||
</NavAction>
|
||||
<NavAction>
|
||||
<Link href="/auth/machinery/logout">
|
||||
<>
|
||||
<Link href="/machinery/logout" passHref prefetch={false}>
|
||||
<CompletelyStylelessLink>
|
||||
Log Out <GoSignOut />
|
||||
</>
|
||||
</CompletelyStylelessLink>
|
||||
</Link>
|
||||
</NavAction>
|
||||
</Base>
|
||||
|
|
Loading…
Add table
Reference in a new issue