"use client"; import { useAuth } from "@/context/AuthContext"; import Link from "next/link"; import Button from "@/components/shared/Button"; import { usePathname } from "next/navigation"; export default function APIKeysLayout({ children }) { const pathname = usePathname(); const { user } = useAuth(); if (!user) { return
Loading...
; } return (

API Keys

Manage your API keys for programmatic access to Argus.

{pathname === "/dashboard/api-keys" && ( )}
{children}
); }