fix: missing publicTokenExpiresAt

This commit is contained in:
2026-06-11 12:19:13 -04:00
parent 48d3335f12
commit 94e0a18bf5
7 changed files with 50 additions and 9 deletions
@@ -25,6 +25,7 @@ import {
} from "lucide-react";
import dynamic from "next/dynamic";
import { authClient } from "~/lib/auth-client";
import { useAuthSession } from "~/hooks/use-auth-session";
import * as React from "react";
import { useState } from "react";
@@ -178,8 +179,7 @@ function isFullHexColor(value: string) {
}
export function SettingsContent() {
const { data: session } = authClient.useSession();
// const session = { user: null } as any;
const { data: session } = useAuthSession();
const [name, setName] = useState("");
const [deleteConfirmText, setDeleteConfirmText] = useState("");
const [importData, setImportData] = useState("");