diff --git a/dev-dist/sw.js b/dev-dist/sw.js index a44d858..2892c8c 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-54d0af47'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.g82l9bbo3ro" + "revision": "0.s1fup7lrbig" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/Pages/Login.tsx b/src/Pages/Login.tsx index 4253c8f..541ec13 100644 --- a/src/Pages/Login.tsx +++ b/src/Pages/Login.tsx @@ -52,6 +52,7 @@ const Login = () => { Authorization: `Basic ${basicAuth}`, "Content-Type": "application/json", }, + } ); @@ -70,11 +71,15 @@ const Login = () => { } catch (error) { if (error) { console.error("Login failed", error); - setIsLoading(false); + setIsLoading(false) + } } }); + + + return (