Skip to content

Commit 2b334d5

Browse files
committed
FE: Fix react query not initiating requests for local host (#3915)
(cherry picked from commit 2ac8646)
1 parent 59f0320 commit 2b334d5

File tree

1 file changed

+1
-0
lines changed
  • kafka-ui-react-app/src/components

1 file changed

+1
-0
lines changed

kafka-ui-react-app/src/components/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const queryClient = new QueryClient({
3030
defaultOptions: {
3131
queries: {
3232
suspense: true,
33+
networkMode: 'offlineFirst',
3334
onError(error) {
3435
showServerError(error as Response);
3536
},

0 commit comments

Comments
 (0)