diff --git a/components/account-panel.tsx b/components/account-panel.tsx index 6adcbac..468f570 100644 --- a/components/account-panel.tsx +++ b/components/account-panel.tsx @@ -7,7 +7,7 @@ import { PreviewNotice, StatusCard } from "@/components/ui"; const apiBase = process.env.NEXT_PUBLIC_API_BASE_URL ?? "/api/v1"; -type User = { email: string; role: "user" | "admin"; plan: "free" | "vip"; status: string; email_verified: boolean; phone_verified: boolean }; +type User = { email: string; username: string; role: "user" | "admin"; plan: "free" | "vip"; status: string; email_verified: boolean; phone_verified: boolean }; type Usage = { period_start: string; period_end: string; limit: number; adjustment: number; used: number; reserved: number; available: number; plan: string }; export function AccountPanel() { @@ -54,7 +54,7 @@ export function AccountPanel() { return <>
Profile
Profile
Usage
Security