Skip to content

Commit 35d36db

Browse files
mbeaudrutannerlinsley
authored andcommitted
Fixes a typo in the docs (TanStack#1822)
1 parent 649259b commit 35d36db

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 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)