feat(ui): more improvements to initial loading state
This commit is contained in:
@@ -412,6 +412,14 @@ export const ClientConfigStore: FC = () => {
|
||||
} catch (e) {
|
||||
console.error('error parsing status hydration', e);
|
||||
}
|
||||
|
||||
try {
|
||||
if ((window as any).configHydration && (window as any).statusHydration) {
|
||||
sendEvent([AppStateEvent.Loaded]);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('error sending loaded event', e);
|
||||
}
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user