this should work, then we can add back

This commit is contained in:
Michael Freno
2025-12-19 16:09:31 -05:00
parent 14a801887a
commit c2b16c0291
10 changed files with 11 additions and 25 deletions

View File

@@ -7,7 +7,6 @@ import XCircle from "~/components/icons/XCircle";
import Dropzone from "~/components/blog/Dropzone";
import AddImageToS3 from "~/lib/s3upload";
import { validatePassword, isValidEmail } from "~/lib/validation";
import { checkAuthStatus } from "~/server/utils";
type UserProfile = {
id: string;
@@ -21,6 +20,7 @@ type UserProfile = {
const checkAuth = cache(async () => {
"use server";
const { checkAuthStatus } = await import("~/server/utils");
const event = getEvent()!;
const { isAuthenticated } = await checkAuthStatus(event);