Commit 37634cf7 authored by timel's avatar timel

fix: move cookies.ts from ui to api

parent 02853d8a
Pipeline #22879 passed with stages
in 12 minutes
export * from "./cards"; export * from "./cards";
export * from "./cookies";
export * from "./deck"; export * from "./deck";
export * from "./mycard"; export * from "./mycard";
export * from "./ocgcore/idl/ocgcore"; export * from "./ocgcore/idl/ocgcore";
......
...@@ -4,9 +4,9 @@ import { Avatar } from "antd"; ...@@ -4,9 +4,9 @@ import { Avatar } from "antd";
import { type LoaderFunction, NavLink, Outlet } from "react-router-dom"; import { type LoaderFunction, NavLink, Outlet } from "react-router-dom";
import { useSnapshot } from "valtio"; import { useSnapshot } from "valtio";
import { CookieKeys, getCookie } from "@/api";
import { useConfig } from "@/config"; import { useConfig } from "@/config";
import { accountStore, type User } from "@/stores"; import { accountStore, type User } from "@/stores";
import { CookieKeys, getCookie } from "@/ui/Shared";
import styles from "./index.module.scss"; import styles from "./index.module.scss";
......
...@@ -2,8 +2,9 @@ import { ConfigProvider, Select, Space } from "antd"; ...@@ -2,8 +2,9 @@ import { ConfigProvider, Select, Space } from "antd";
import classNames from "classnames"; import classNames from "classnames";
import { type LoaderFunction } from "react-router-dom"; import { type LoaderFunction } from "react-router-dom";
import { CookieKeys, setCookie } from "@/api";
import { accountStore, type User } from "@/stores"; import { accountStore, type User } from "@/stores";
import { Background, CookieKeys, setCookie } from "@/ui/Shared"; import { Background } from "@/ui/Shared";
import styles from "./index.module.scss"; import styles from "./index.module.scss";
......
export * from "./Background"; export * from "./Background";
export * from "./cookies";
export * from "./css"; export * from "./css";
export * from "./IconFont"; export * from "./IconFont";
export * from "./YgoCard"; export * from "./YgoCard";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment