Fix some React lifecycle and rendering errors that exist in build

This commit is contained in:
Gabe Kangas
2023-01-10 16:39:20 -08:00
parent e9d43492d0
commit d8a5380b7f
16 changed files with 85 additions and 102 deletions
+2 -4
View File
@@ -388,11 +388,9 @@ export const ClientConfigStore: FC = () => {
}, []);
useEffect(() => {
if (!accessToken) {
return;
if (accessToken) {
getChatHistory();
}
getChatHistory();
}, [accessToken]);
useEffect(() => {