Skip to content

Commit

Permalink
Fix: App component UseEffect inifinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
TaoChenOSU committed Oct 31, 2024
1 parent 7b27658 commit ed5dc3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ const App = () => {
}
}),
]);
}
}, [instance, isAuthenticated, appState, isMaintenance, handleAppStateChange, dispatch, chat, file]);
} // eslint-disable-next-line react-hooks/exhaustive-deps
}, [instance, isAuthenticated, appState, isMaintenance]);

const theme = features[FeatureKeys.DarkMode].enabled ? semanticKernelDarkTheme : semanticKernelLightTheme;

Expand Down

0 comments on commit ed5dc3a

Please sign in to comment.