Upgrade to React Router v6 (#2919)
This commit is contained in:
@@ -82,7 +82,7 @@ export const UserMenu: FC<Props> = ({
|
||||
|
||||
if (!isAuthenticated) {
|
||||
return (
|
||||
<LinkButton to={{ pathname: "/login", state: { from: location } }}>
|
||||
<LinkButton to={{ pathname: "/login" }} state={{ from: location }}>
|
||||
{t("log_in")}
|
||||
</LinkButton>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user