Are you sure you want to permanently delete{" "}
-
+
{selected?.email ||
selected?.name ||
selected?.username}
diff --git a/src/app/components/LicenseViolation.tsx b/src/app/components/LicenseViolation.tsx
index 1771475..75d544d 100644
--- a/src/app/components/LicenseViolation.tsx
+++ b/src/app/components/LicenseViolation.tsx
@@ -5,21 +5,33 @@
"use client";
+import { Button } from "@app/components/ui/button";
import { useLicenseStatusContext } from "@app/hooks/useLicenseStatusContext";
+import { useState } from "react";
export default function LicenseViolation() {
const { licenseStatus } = useLicenseStatusContext();
+ const [isDismissed, setIsDismissed] = useState(false);
- if (!licenseStatus) return null;
+ if (!licenseStatus || isDismissed) return null;
// Show invalid license banner
if (licenseStatus.isHostLicensed && !licenseStatus.isLicenseValid) {
return (
- Invalid or expired license keys detected. Follow license
- terms to continue using all features.
-
+ Invalid or expired license keys detected. Follow license
+ terms to continue using all features.
+
- License Violation: This server is using{" "}
- {licenseStatus.usedSites} sites which exceeds its licensed
- limit of {licenseStatus.maxSites} sites. Follow license
- terms to continue using all features.
-
+ License Violation: This server is using{" "}
+ {licenseStatus.usedSites} sites which exceeds its
+ licensed limit of {licenseStatus.maxSites} sites. Follow
+ license terms to continue using all features.
+