From 989053d2d6bc48887b55cc0f2e71727e6f2fb610 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Tue, 12 Mar 2019 20:21:21 +0200 Subject: [PATCH] Orbit hotfix --- app/src/utils/orbitUtils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/utils/orbitUtils.js b/app/src/utils/orbitUtils.js index 91fc2e6..6d62bd2 100644 --- a/app/src/utils/orbitUtils.js +++ b/app/src/utils/orbitUtils.js @@ -55,9 +55,7 @@ async function loadDatabases(identityId, identityPublicKey, identityPrivateKey, await topicsDB.load(); await postsDB.load(); - updateDatabases(DATABASES_LOADED, orbitdb, topicsDB, postsDB); - - return { orbitdb, topicsDB, postsDB }; + store.dispatch(updateDatabases(DATABASES_LOADED, orbitdb, topicsDB, postsDB)); } function getIPFS(){