fixing logout redirect issue (#2170)

* fixing logout redirect issue

* fixing logout problem
This commit is contained in:
Robert Azizbekyan 2022-06-23 17:59:30 +04:00 committed by GitHub
parent aa839b4d69
commit 9c7f078ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -255,7 +255,7 @@ export const LogoutButton = styled(Button)(
`
);
export const LogoutLink = styled(Link)(
export const LogoutLink = styled.a(
() => css`
margin-right: 2px;
`

View file

@ -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>