Skip to content

Commit 184ecae

Browse files
authored
Merge branch 'main' into renovate/lock-file-maintenance
2 parents baeb31b + 690c618 commit 184ecae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/framework/react/guides/custom-plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ export function DevtoolPanel() {
121121

122122
useEffect(() => {
123123
// subscribe to the emitted event
124-
const cleanup = DevtoolsEventClient.on("counter-state", e => setState(e.payload)
124+
const cleanup = DevtoolsEventClient.on("counter-state", e => setState(e.payload))
125125
return cleanup
126126
}, [])
127127

128128
return (
129129
<div>
130130
<div>{state.count}</div>
131131
<div>{JSON.stringify(state.history)}</div>
132-
<div/>
132+
</div>
133133
)
134134
}
135135
```

0 commit comments

Comments
 (0)