diff --git a/examples/ssr/src/pages/login.astro b/examples/ssr/src/pages/login.astro index 45643665e..51ad74008 100644 --- a/examples/ssr/src/pages/login.astro +++ b/examples/ssr/src/pages/login.astro @@ -27,12 +27,9 @@ import Container from '../components/Container.astro'; }) .then((res) => res.json()) .then((data) => { - document.querySelector("#result").innerHTML = "Progressive login was successful! you will be redirected to the store in 3 seconds"; - setTimeout( - () => location.href = "/", - 3000 - ); - + document.querySelector('#result').innerHTML = + 'Progressive login was successful! you will be redirected to the store in 3 seconds'; + setTimeout(() => (location.href = '/'), 3000); }); }); }); @@ -52,7 +49,7 @@ import Container from '../components/Container.astro'; -
+