Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbFlying committed Aug 9, 2024
1 parent 9b62f89 commit 16d0d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function App() {

#### hook
```tsx
import { createStore } from "@shein/resy";
import { createStore } from "resy";

const store = createStore({
count: 0,
Expand Down Expand Up @@ -453,7 +453,7 @@ const App = () => {
#### class

```tsx
import { createStore, ComponentWithStore } from "@shein/resy";
import { createStore, ComponentWithStore } from "resy";

class App extends ComponentWithStore {
store = this.connectStore(store);
Expand Down

0 comments on commit 16d0d81

Please sign in to comment.