auth: rename profile.data -> profile.current

This commit is contained in:
James Xylight committed 2025-07-12 10:26:45 -07:00
1 parent 1edad4ac60
commit 36a9631707
76 files changed
+233 -224

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { ReactiveState } from '$lib/promise.svelte.js'
export async function load({ fetch, url }) {
if (!profile) return
const { jwt } = profile.data!
const { jwt } = profile.current!
if (!jwt) return
const page = Number(url.searchParams.get('page')) || 1