diff --git a/packages/react-ui/src/app/app-bootstrap.tsx b/packages/react-ui/src/app/app-bootstrap.tsx index 9bcce1736c..7d22afa230 100644 --- a/packages/react-ui/src/app/app-bootstrap.tsx +++ b/packages/react-ui/src/app/app-bootstrap.tsx @@ -25,9 +25,9 @@ export function AppBootstrap({ children }: Readonly) { try { const flags = await flagsApi.getAll(); queryClient.setQueryData([QueryKeys.flags], flags); - const isInitialized = await initializeInternal(); + await initializeInternal(); - if (mounted && isInitialized) { + if (mounted) { setState({ status: 'ready' }); } } catch (error) {