From a48170c2746fc89b52c70e716e0fc07901d13439 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Fri, 28 Jan 2022 14:15:36 -0500 Subject: [PATCH] Do not actually start up gun --- services/gunDB/Mediator/index.js | 2 +- utils/GunSmith/GunSmith.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 09609f5c..a906c2a3 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -281,7 +281,7 @@ const isAuthenticating = () => _isAuthenticating const isRegistering = () => _isRegistering const getGun = () => { - return gun + throw new Error('NO GUNS') } const getUser = () => { diff --git a/utils/GunSmith/GunSmith.js b/utils/GunSmith/GunSmith.js index 738f9e62..b755c2ab 100644 --- a/utils/GunSmith/GunSmith.js +++ b/utils/GunSmith/GunSmith.js @@ -734,7 +734,7 @@ function createUserReplica() { */ const Gun = opts => { lastOpts = opts - forge() + // forge() return createReplica('$root') }