fix(security): replace nookies with patched cookie utility

This commit is contained in:
2026-11-04 06:54:36 +00:00
parent cd0c690454
commit 3f91a3e095
25 changed files with 487 additions and 56 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import useTranslation from "next-translate/useTranslation";
import { parseCookies, setCookie } from "nookies";
import { parseCookies, setCookie } from "../lib/cookies";
import { useEffect, useRef, useState } from "react";
const COOKIE_NAME = "pedwAiPolicyNoticeHidden";