Skip to content

Commit

Permalink
docs: fix wrong typo 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
ninesunsabiu committed Jul 19, 2023
1 parent a092095 commit ec62244
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- Event-driven 架构
- 增量更新
- 反应式编程
- 可变状态
- 不可变状态
- 类型友好的 APIs
- 框架无关(官方支持 React/Vue)
- 支持 SSR
Expand Down
3 changes: 1 addition & 2 deletions docs/how-to-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -894,9 +894,8 @@ const YourDomain = Remesh.domain({
name: 'AEvent',
})

AQuery.emitted(({ get }, { current, previous }) => {
AEvent.emitted(({ get }, eventArg) => {
// do something when event was emitted
return SomeCommand()
})
},
})
Expand Down
3 changes: 1 addition & 2 deletions docs/how-to-guide_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -893,9 +893,8 @@ const YourDomain = Remesh.domain({
name: 'AEvent',
})

AQuery.emitted(({ get }, { current, previous }) => {
AEvent.emitted(({ get }, eventArg) => {
// do something when event was emitted
return SomeCommand()
})
},
})
Expand Down

0 comments on commit ec62244

Please sign in to comment.