From dca2459284fc315f3dae3bccd771513f1309aebf Mon Sep 17 00:00:00 2001 From: Christiaan Scheermeijer Date: Thu, 5 Aug 2021 11:09:45 +0200 Subject: [PATCH] fix(auth): skip account initialization when platform has no cleengId --- src/App.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index b4890aa37..a0711daed 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -31,7 +31,10 @@ class App extends Component { } initializeFavorites(); - initializeAccount(); + + if (config.cleengId) { + initializeAccount(); + } } configLoadingHandler = (isLoading: boolean) => {