We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8dae77 commit 579355eCopy full SHA for 579355e
1 file changed
packages/react-ui/src/app/app-bootstrap.tsx
@@ -25,9 +25,9 @@ export function AppBootstrap({ children }: Readonly<AppBootstrapProps>) {
25
try {
26
const flags = await flagsApi.getAll();
27
queryClient.setQueryData<FlagsMap>([QueryKeys.flags], flags);
28
- const isInitialized = await initializeInternal();
+ await initializeInternal();
29
30
- if (mounted && isInitialized) {
+ if (mounted) {
31
setState({ status: 'ready' });
32
}
33
} catch (error) {
0 commit comments