Skip to content

Commit 6057f7e

Browse files
committed
implement reducers.cart. TODO: replace cartSlice.
1 parent 7ff99a5 commit 6057f7e

File tree

3 files changed

+492
-0
lines changed

3 files changed

+492
-0
lines changed

src/main.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { StrictMode } from "react";
33
import { createRoot } from "react-dom/client";
44
import App from "./App.tsx";
55
import { ThemeContextProvider } from "./components/DarkTheme/useTheme.tsx";
6+
import * as DoCart from "./reducers/cart";
67
import * as DoDataTag from "./reducers/dataTag";
78
import * as DoDrawer from "./reducers/drawer";
89
import * as DoExplorer from "./reducers/explorer";
@@ -32,6 +33,8 @@ registerThunk(DoPacs);
3233
registerThunk(DoUI);
3334
// @ts-expect-error registerThunk
3435
registerThunk(DoUser);
36+
// @ts-expect-error registerThunk
37+
registerThunk(DoCart);
3538

3639
enableMapSet();
3740
const store = setupStore();

0 commit comments

Comments
 (0)