mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
fix(frontend): redirect to home after login
This commit is contained in:
parent
416765e456
commit
367f37555f
2 changed files with 8 additions and 0 deletions
6
frontend/src/components/LoginSuccess.tsx
Normal file
6
frontend/src/components/LoginSuccess.tsx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import React from "react";
|
||||
import { Redirect } from "react-router-dom";
|
||||
|
||||
export const LoginSuccess: React.FC = () => {
|
||||
return <Redirect to="/" />;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue