mirror of
https://github.com/gosticks/react-table.git
synced 2026-06-28 17:10:01 +00:00
Fixes a typo in the docs (#1822)
This commit is contained in:
committed by
Tanner Linsley
parent
649259ba77
commit
35d36db4c9
@@ -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 </>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user