Explorar el Código

Remove unnecessary code

Daniel Bohry hace 1 año
padre
commit
383223d96c
Se han modificado 1 ficheros con 0 adiciones y 10 borrados
  1. 0 10
      src/routes/register/+page.svelte

+ 0 - 10
src/routes/register/+page.svelte

@@ -1,16 +1,6 @@
 <script>
     import {auth} from "../store.js";
 
-    let isAuthenticated = false;
-    let user = null;
-
-    $: auth.subscribe(value => {
-        isAuthenticated = !!value;
-        if (value) {
-            user = value;
-        }
-    });
-
     async function submit(event) {
         event.preventDefault();