mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Unnecessary return
This commit is contained in:
parent
7244cdbf5d
commit
ff49165447
@ -35,7 +35,6 @@ export default ({ match, history, location }: Props) => {
|
||||
.then(() => {
|
||||
// @ts-ignore
|
||||
window.location = '/';
|
||||
return;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error(error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user