This commit is contained in:
superdinmc
2025-11-07 09:19:08 +07:00 Unverified
parent f067a70124
commit 13977d2cd1
4 changed files with 122 additions and 3 deletions
+9
View File
@@ -12,6 +12,7 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
import { getCharacters } from "@/lib/api";
import { comms } from "@/lib/comms";
import { uidRegex } from "@/lib/const";
import type { characters } from "@/lib/db/schema";
import { cn } from "@/lib/utils";
@@ -176,3 +177,11 @@ export async function ClearCookie() {
cookieStore.delete("sid");
return "";
}
export function WarningDialog() {
const [manual, setManual] = comms.var("manual");
comms.event("beforeSubmit", () => {
manual;
});
}