Skip to content

Commit c7c7df4

Browse files
committed
fix: remove error logging from useGetRemoteConfig
1 parent 8e6c84a commit c7c7df4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/features/remoteConfig/api/getRemoteConfig.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ type UseGetRemoteConfigOptions = {
1414
}
1515
export const useGetRemoteConfig = ({ config }: UseGetRemoteConfigOptions = {}) => {
1616
return useQuery<ExtractFnReturnType<QueryFnType>>({
17-
onError(error) {
18-
console.error('Error fetching remote config', error)
19-
},
2017
...config,
2118
queryKey: ['remote-config', 'v2'],
2219
queryFn: () => getRemoteConfig(),

0 commit comments

Comments
 (0)