fixing logout redirect issue (#2170)
* fixing logout redirect issue * fixing logout problem
This commit is contained in:
parent
aa839b4d69
commit
9c7f078ded
2 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ export const LogoutButton = styled(Button)(
|
|||
`
|
||||
);
|
||||
|
||||
export const LogoutLink = styled(Link)(
|
||||
export const LogoutLink = styled.a(
|
||||
() => css`
|
||||
margin-right: 2px;
|
||||
`
|
||||
|
|
|
@ -68,7 +68,7 @@ const App: React.FC = () => {
|
|||
</S.NavbarBrand>
|
||||
</S.NavbarBrand>
|
||||
<S.NavbarSocial>
|
||||
<S.LogoutLink to="/logout">
|
||||
<S.LogoutLink href="/logout">
|
||||
<S.LogoutButton buttonType="primary" buttonSize="M">
|
||||
Log out
|
||||
</S.LogoutButton>
|
||||
|
|
Loading…
Add table
Reference in a new issue