mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
feat(pencil): fix with yarn lint:fix
This commit is contained in:
parent
75218e45df
commit
6a9dde596a
@ -7,7 +7,8 @@ import ShowDocs from './util/ShowDocs';
|
||||
const stateSet = ['first', 'second', 'third', 'fourth', 'fifth'];
|
||||
|
||||
const Demo = () => {
|
||||
const { state, prev, next, setStateAt, setState, currentIndex, isFirst, isLast } = useStateList(stateSet);
|
||||
const { state, prev, next, setStateAt, setState, currentIndex, isFirst, isLast } =
|
||||
useStateList(stateSet);
|
||||
const indexInput = useRef<HTMLInputElement>(null);
|
||||
const stateInput = useRef<HTMLInputElement>(null);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user