import { useLicenseCode } from "@/hooks/use-license-code"; import { ActionIcon, Box, Flex, Group, Paper, Title, Tooltip } from "@mantine/core"; import { IconCopy } from "@tabler/icons-react"; import classes from "./LicenseCode.module.css"; export function LicenseCode() { const [licenseCode] = useLicenseCode(); return ( 授权码 {licenseCode} ); }