Skip to content

Commit 34b86e5

Browse files
authored
Fixes a typo in the docs
1 parent 9baf3c2 commit 34b86e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Table({ data, onFetchData }) {
4343
// When the these table states change, fetch new data!
4444
React.useEffect(() => {
4545
onFetchData({ pageIndex, pageSize, sortBy, filters })
46-
}, [fetchData, pageIndex, pageSize, sortBy, filters])
46+
}, [onFetchData, pageIndex, pageSize, sortBy, filters])
4747

4848
return </>
4949
}

0 commit comments

Comments
 (0)