typescript src/room (#437)

This commit is contained in:
Timo
2022-08-02 00:46:16 +02:00
committed by GitHub
parent c723fae0e2
commit 2d99acabe2
37 changed files with 465 additions and 284 deletions

View File

@@ -100,7 +100,7 @@ export const RegisterPage: FC = () => {
submit()
.then(() => {
if (location.state?.from) {
history.push(location.state.from);
history.push(location.state?.from);
} else {
history.push("/");
}