diff --git a/ui/src/pages/LicensePage.tsx b/ui/src/pages/LicensePage.tsx index 04fbfd3..6a7536f 100644 --- a/ui/src/pages/LicensePage.tsx +++ b/ui/src/pages/LicensePage.tsx @@ -1,10 +1,13 @@ import React, { useState } from 'react'; import { Badge, + Button, Card, EmptyState, Spinner, + useToast, } from '@cameleer/design-system'; +import { Copy } from 'lucide-react'; import { useAuth } from '../auth/useAuth'; import { useLicense } from '../api/hooks'; import styles from '../styles/platform.module.css'; @@ -34,6 +37,7 @@ export function LicensePage() { const { tenantId } = useAuth(); const { data: license, isLoading, isError } = useLicense(tenantId ?? ''); const [tokenExpanded, setTokenExpanded] = useState(false); + const { toast } = useToast(); if (isLoading) { return ( @@ -149,13 +153,19 @@ export function LicensePage() {
Use this token when registering Cameleer agents with your tenant.
- +