fix: rework sessions

This commit is contained in:
David Nguyen
2025-02-17 22:46:36 +11:00
parent 1ed1cb0773
commit 5fc724b247
57 changed files with 1512 additions and 1446 deletions

View File

@ -59,7 +59,8 @@ export default function PublicProfilePage({ loaderData }: Route.ComponentProps)
const { profile, templates } = publicProfile;
const { user } = useOptionalSession();
const { sessionData } = useOptionalSession();
const user = sessionData?.user;
return (
<div className="flex flex-col items-center justify-center py-4 sm:py-32">