Skip to content

Commit

Permalink
docs: remove unnecessary useState (#3875)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSeally authored May 17, 2024
1 parent b46fc9c commit 00748d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/react-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ quite common. To make this pattern simpler the [`useLocalObservable`](https://gi

```javascript
import { observer, useLocalObservable } from "mobx-react-lite"
import { useState } from "react"

const TimerView = observer(() => {
const timer = useLocalObservable(() => ({
Expand Down

0 comments on commit 00748d5

Please sign in to comment.