()
| 14 | // )) |
| 15 | |
| 16 | export const useExecuteGraphQLQuery = () => { |
| 17 | const auth = useSelector((state) => state.auth); |
| 18 | const dispatch = useDispatch(); |
| 19 | |
| 20 | return queryGraphQLWithUIEffects( |
| 21 | `${BACKEND}/graph`, |
| 22 | dispatch, |
| 23 | networkAction, |
| 24 | auth.token |
| 25 | ); |
| 26 | }; |
no test coverage detected