Skip to content

Commit

Permalink
fix typo in import (#2733)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkgsv authored Jan 20, 2021
1 parent 680ad86 commit 51b46a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/computeds-with-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ This is a more efficient implementation compared to the original.
```javascript
import * as React from 'react'
import { observer, computed } from 'mobx-react-lite'
import { computed } from 'mobx'
import { observer } from 'mobx-react-lite'

const Item = observer(({ item, store }) => {
const isSelected = computed(() => store.isSelected(item.id)).get()
Expand Down

0 comments on commit 51b46a5

Please sign in to comment.