mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Add a global fetch policy config for graphql clients
This commit is contained in:
@@ -46,8 +46,7 @@ const Users = () => {
|
||||
? 'ProductOwner'
|
||||
: 'Developer';
|
||||
setUsers(getAllUsers.filter((user) => user.role === userRole));
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
}
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user