Skip to content

Commit 810b2f6

Browse files
committed
edit example
1 parent 1979573 commit 810b2f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

example/src/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { useState } from 'react'
21
import logo from './logo.svg'
32
import './App.css'
43
import {
@@ -34,7 +33,7 @@ const ControllerConsumer = () => {
3433
}
3534

3635
const ListenerConsumer = () => {
37-
const controller = useListener(MultiCounterController, (state) => {})
36+
useListener(MultiCounterController, (state) => {})
3837
console.log('render listner')
3938
return <h2 data-testid='controller-listener'>Listenner mounted</h2>
4039
}

0 commit comments

Comments
 (0)