|
@@ -1,6 +1,6 @@
|
|
|
"use client";
|
|
"use client";
|
|
|
|
|
|
|
|
-import { useEffect, useState, useRef } from "react";
|
|
|
|
|
|
|
+import { useState, useRef } from "react";
|
|
|
import { fetchHandler } from "../fetch-handler";
|
|
import { fetchHandler } from "../fetch-handler";
|
|
|
import { GUEST_CART_ID, GUEST_CART_TOKEN, IS_GUEST } from "@/utils/constants";
|
|
import { GUEST_CART_ID, GUEST_CART_TOKEN, IS_GUEST } from "@/utils/constants";
|
|
|
import { encodeJWT, decodeJWT } from "@/utils/jwt-cookie";
|
|
import { encodeJWT, decodeJWT } from "@/utils/jwt-cookie";
|