Skip to content

Commit

Permalink
Fix typo in actions.md, computeds.md, react-integration.md (#2720)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyllo authored Jan 18, 2021
1 parent 3980787 commit 680ad86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Doubler {
<!--action.bound-->

```javascript
import { makeObservable, observable, computed, action } from "mobx"
import { makeObservable, observable, action } from "mobx"

class Doubler {
value = 0
Expand Down
2 changes: 1 addition & 1 deletion docs/computeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Use `makeObservable` to declare a getter as computed. If you instead want all ge
To help illustrate the point of computed values, the example below relies on [`autorun`](reactions.md#autorun) from the [Reactions {🚀}](reactions.md) advanced section.

```javascript
import { makeObservable, observable, computed } from "mobx"
import { makeObservable, observable, computed, autorun } from "mobx"

class OrderLine {
price = 0
Expand Down
2 changes: 1 addition & 1 deletion docs/react-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const TimerView = observer(() => {
})

ReactDOM.render(
<TimerContext.Provider value={new Timer()}
<TimerContext.Provider value={new Timer()}>
<TimerView />
</TimerContext.Provider>,
document.body
Expand Down

0 comments on commit 680ad86

Please sign in to comment.