client: add type to please next lint

This commit is contained in:
Max Leiter 2022-04-09 17:54:08 -07:00
parent 36e255ad2b
commit 401a0df63b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A3512F2F2F17EBDA

View file

@ -16,7 +16,7 @@ const DocumentList = ({
onPaste: (e: any) => void
}) => {
const handleOnChange = useCallback(
(i) => (e: ChangeEvent<HTMLTextAreaElement>) => {
(i: number) => (e: ChangeEvent<HTMLTextAreaElement>) => {
updateDocContent(i)(e.target.value)
},
[updateDocContent]