client: add type to please next lint
This commit is contained in:
parent
36e255ad2b
commit
401a0df63b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const DocumentList = ({
|
||||||
onPaste: (e: any) => void
|
onPaste: (e: any) => void
|
||||||
}) => {
|
}) => {
|
||||||
const handleOnChange = useCallback(
|
const handleOnChange = useCallback(
|
||||||
(i) => (e: ChangeEvent<HTMLTextAreaElement>) => {
|
(i: number) => (e: ChangeEvent<HTMLTextAreaElement>) => {
|
||||||
updateDocContent(i)(e.target.value)
|
updateDocContent(i)(e.target.value)
|
||||||
},
|
},
|
||||||
[updateDocContent]
|
[updateDocContent]
|
||||||
|
|
Loading…
Add table
Reference in a new issue