Skip to content

Commit f58892b

Browse files
committed
fix: update queryKey for useGetRemoteConfig to include versioning
1 parent 7a2ff74 commit f58892b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/remoteConfig/api/getRemoteConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const useGetRemoteConfig = ({ config }: UseGetRemoteConfigOptions = {}) =
1919
useRemoteConfigStore.getState().setRemoteConfig(remoteConfig)
2020
},
2121
...config,
22-
queryKey: ['remote-config'],
22+
queryKey: ['remote-config', 'v2'],
2323
queryFn: () => getRemoteConfig(),
2424
})
2525
}

0 commit comments

Comments
 (0)