Skip to content

Commit

Permalink
bug(cache): make sure to no re-fetch active queries on orga switch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol authored Nov 19, 2024
1 parent ed6e7de commit f1a66a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/apolloClient/cacheUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const switchCurrentOrganization = async (
) => {
setItemFromLS(ORGANIZATION_LS_KEY_ID, organizationId)

await client.resetStore()
await client.clearStore()
}

export const onAccessCustomerPortal = (token?: string) => {
Expand Down

0 comments on commit f1a66a9

Please sign in to comment.