fix: lint
This commit is contained in:
parent
acac6402d7
commit
964eaf928e
3 changed files with 3 additions and 4 deletions
|
@ -10,10 +10,9 @@
|
|||
|
||||
const errorMessage: Ref<string | null> = ref(null);
|
||||
|
||||
async function redirectPage() {
|
||||
async function redirectPage(): Promise<void> {
|
||||
const redirectUrl = localStorage.getItem("redirectAfterLogin");
|
||||
if (redirectUrl) {
|
||||
console.log("redirect", redirectUrl);
|
||||
localStorage.removeItem("redirectAfterLogin");
|
||||
await router.replace(redirectUrl);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue