fix: minor console error fix

This commit is contained in:
2026-03-01 03:25:14 +07:00 Unverified
parent 75775b4575
commit 0d7ea2acc1
+6 -1
View File
@@ -329,7 +329,12 @@ export function Disclaimer() {
export function ClearCookie() {
// biome-ignore lint/suspicious/noTsIgnore: typescript issue
// @ts-ignore
cookieStore.delete("sid");
try {
cookieStore.delete("sid");
} catch {
// not in browser(im too lazy to check)
}
return "";
}