mirror of
https://github.com/LukeHagar/Sveltey.git
synced 2025-12-06 04:21:38 +00:00
adding session log
This commit is contained in:
@@ -4,6 +4,10 @@
|
|||||||
import { Mail, Lock, LogIn, UserPlus, Github, Chrome, MessageCircle, Twitter, Star, Eye, EyeOff, AlertTriangle } from '@lucide/svelte';
|
import { Mail, Lock, LogIn, UserPlus, Github, Chrome, MessageCircle, Twitter, Star, Eye, EyeOff, AlertTriangle } from '@lucide/svelte';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
|
let { data } = $props();
|
||||||
|
|
||||||
|
const session = $derived(data.session);
|
||||||
|
|
||||||
let activeTab = $state('login'); // 'login' or 'signup'
|
let activeTab = $state('login'); // 'login' or 'signup'
|
||||||
let showPassword = $state(false);
|
let showPassword = $state(false);
|
||||||
|
|
||||||
@@ -163,6 +167,10 @@
|
|||||||
message = '';
|
message = '';
|
||||||
formData = { email: '', password: '' };
|
formData = { email: '', password: '' };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$effect(() => {
|
||||||
|
console.log(session);
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
|
|||||||
Reference in New Issue
Block a user