Skip to content

Commit 01a95af

Browse files
fix import error
1 parent 9a267ef commit 01a95af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/r-store/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactivity-store",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"author": "MrWangJustToDo",
55
"license": "MIT",
66
"description": "a reactive store, make you write reactive logic in react app just like zustand",

packages/r-store/src/shared/hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/ban-types */
22
import { readonly, toRaw } from "@vue/reactivity";
33
import { useCallback, useEffect, useMemo, useRef } from "react";
4-
import { useSyncExternalStore } from "use-sync-external-store/shim";
4+
import { useSyncExternalStore } from "use-sync-external-store/shim/index.js";
55

66
import { Controller } from "./controller";
77
import { delDevController, setDevController, setNamespaceMap } from "./dev";

0 commit comments

Comments
 (0)