Add a global fetch policy config for graphql clients

This commit is contained in:
Hazem Krimi
2023-06-04 15:34:23 +01:00
parent 90ad62d41f
commit e7d1d81be0
8 changed files with 22 additions and 22 deletions
+1 -2
View File
@@ -46,8 +46,7 @@ const Users = () => {
? 'ProductOwner'
: 'Developer';
setUsers(getAllUsers.filter((user) => user.role === userRole));
},
fetchPolicy: 'network-only',
}
});
useEffect(() => {