From 680ad86d76ab9dd9fbaeddcc73409047e08febca Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 18 Jan 2021 20:56:46 +1000 Subject: [PATCH] Fix typo in actions.md, computeds.md, react-integration.md (#2720) --- docs/actions.md | 2 +- docs/computeds.md | 2 +- docs/react-integration.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/actions.md b/docs/actions.md index 77736cd13..1096f6498 100644 --- a/docs/actions.md +++ b/docs/actions.md @@ -72,7 +72,7 @@ class Doubler { ```javascript -import { makeObservable, observable, computed, action } from "mobx" +import { makeObservable, observable, action } from "mobx" class Doubler { value = 0 diff --git a/docs/computeds.md b/docs/computeds.md index 307eb3b20..da13eac4e 100644 --- a/docs/computeds.md +++ b/docs/computeds.md @@ -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 diff --git a/docs/react-integration.md b/docs/react-integration.md index 689e42e5d..a8ed66279 100644 --- a/docs/react-integration.md +++ b/docs/react-integration.md @@ -122,7 +122,7 @@ const TimerView = observer(() => { }) ReactDOM.render( - , document.body