fix(security): replace nookies with patched cookie utility
This commit is contained in:
@@ -32,7 +32,7 @@ import {
|
||||
} from "../../store/watchedCases/action";
|
||||
|
||||
import { signIn, useSession } from "next-auth/react";
|
||||
import { destroyCookie, parseCookies, setCookie } from "nookies";
|
||||
import { destroyCookie, parseCookies, setCookie } from "../../lib/cookies";
|
||||
import { getFormCollectionByID, getDetailsProxy, hasOwn } from "../utils";
|
||||
import {
|
||||
getLivePublishedEvent,
|
||||
|
||||
@@ -2,7 +2,7 @@ import { signOut } from "next-auth/react";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
import { useRouter } from "next/router";
|
||||
import { useState, useEffect } from "react";
|
||||
import { destroyCookie, parseCookies, setCookie } from "nookies";
|
||||
import { destroyCookie, parseCookies, setCookie } from "../../lib/cookies";
|
||||
import { signIn, useSession } from "next-auth/react";
|
||||
|
||||
const WatchModal = (props) => {
|
||||
|
||||
Reference in New Issue
Block a user