diff --git a/src/components/HybridAppMiddleware/index.tsx b/src/components/HybridAppMiddleware/index.tsx index b3d346a1b65c..5a8d8d6dfebe 100644 --- a/src/components/HybridAppMiddleware/index.tsx +++ b/src/components/HybridAppMiddleware/index.tsx @@ -54,7 +54,7 @@ function HybridAppMiddleware({children, authenticated}: HybridAppMiddlewareProps * We propagate it from OldDot to NewDot with native method due to limitations of old app. */ useEffect(() => { - if (completedHybridAppOnboarding === undefined) { + if (completedHybridAppOnboarding === undefined || !NativeModules.HybridAppModule) { return; }