Added more cache checks.
This commit is contained in:
1 parent
ef9f8ed816
commit
83fb358355
9 files changed
+22
-18
No files matched your search
@@ -7,7 +7,7 @@ import useCache from 'store/cache';
|
||||
|
||||
export function TeamsDataTable() {
|
||||
const { get } = useApi();
|
||||
const modified = useCache(state => state?.websites);
|
||||
const modified = useCache(state => state?.teams);
|
||||
const queryResult = useFilterQuery(['teams', { modified }], params => {
|
||||
return get(`/teams`, {
|
||||
...params,
|
||||
|
||||
Reference in new issue
Block a user