14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
"use client";
|
|
|
|
import { BillingManager } from "@/components/billing-manager";
|
|
import { BrowserAuthGuard, useBrowserAuth } from "@/components/browser-auth";
|
|
|
|
export default function BillingPage() {
|
|
return <BrowserAuthGuard><BillingContent /></BrowserAuthGuard>;
|
|
}
|
|
|
|
function BillingContent() {
|
|
const { isSuperAdmin } = useBrowserAuth();
|
|
return <BillingManager isSuperAdmin={isSuperAdmin} />;
|
|
}
|