typescript src/room (#437)
This commit is contained in:
parent
c723fae0e2
commit
2d99acabe2
37 changed files with 467 additions and 286 deletions
|
|
@ -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("/");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue