Skip to content

Commit

Permalink
PWA-3166::Queries fire multiple times (#4143)
Browse files Browse the repository at this point in the history
Co-authored-by: Aanchal Pawar <97873570+glo82145@users.noreply.github.com>
  • Loading branch information
glo80771 and glo82145 committed Sep 27, 2023
1 parent 649a853 commit af73f69
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ export const useCategory = props => {
called: introspectionCalled,
data: introspectionData,
loading: introspectionLoading
} = useQuery(getFilterInputsQuery, {
fetchPolicy: 'cache-and-network',
nextFetchPolicy: 'cache-first'
});
} = useQuery(getFilterInputsQuery);

// Create a type map we can reference later to ensure we pass valid args
// to the graphql query.
Expand Down

0 comments on commit af73f69

Please sign in to comment.