Skip to content

Commit f1a66a9

Browse files
authored
bug(cache): make sure to no re-fetch active queries on orga switch (#1866)
1 parent ed6e7de commit f1a66a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/apolloClient/cacheUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const switchCurrentOrganization = async (
7575
) => {
7676
setItemFromLS(ORGANIZATION_LS_KEY_ID, organizationId)
7777

78-
await client.resetStore()
78+
await client.clearStore()
7979
}
8080

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

0 commit comments

Comments
 (0)