Fixes a typo in the docs (#1822)

This commit is contained in:
Manuel Beaudru
2020-01-09 00:30:15 +01:00
committed by Tanner Linsley
parent 649259ba77
commit 35d36db4c9

View File

@@ -43,7 +43,7 @@ function Table({ data, onFetchData }) {
// When these table states change, fetch new data!
React.useEffect(() => {
onFetchData({ pageIndex, pageSize, sortBy, filters })
}, [fetchData, pageIndex, pageSize, sortBy, filters])
}, [onFetchData, pageIndex, pageSize, sortBy, filters])
return </>
}