[ci] format
This commit is contained in:
parent
5923dd77c1
commit
1f57c0ca64
2 changed files with 12 additions and 15 deletions
|
@ -27,12 +27,9 @@ import Container from '../components/Container.astro';
|
||||||
})
|
})
|
||||||
.then((res) => res.json())
|
.then((res) => res.json())
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
document.querySelector("#result").innerHTML = "Progressive login was successful! you will be redirected to the store in 3 seconds";
|
document.querySelector('#result').innerHTML =
|
||||||
setTimeout(
|
'Progressive login was successful! you will be redirected to the store in 3 seconds';
|
||||||
() => location.href = "/",
|
setTimeout(() => (location.href = '/'), 3000);
|
||||||
3000
|
|
||||||
);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue