From 86ec6e0f9bfeb2adfa1e9869c63e7dccfa3ba949 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Fri, 29 Mar 2019 21:35:41 +0200 Subject: [PATCH] LoadingContainer cleanup --- app/src/containers/LoadingContainer.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/src/containers/LoadingContainer.js b/app/src/containers/LoadingContainer.js index f31d64d..de0e3b6 100644 --- a/app/src/containers/LoadingContainer.js +++ b/app/src/containers/LoadingContainer.js @@ -7,11 +7,6 @@ import orbitdb_logo from '../assets/images/orbitdb_logo.png'; class LoadingContainer extends Component { render() { if (this.props.web3.status === 'failed' || !this.props.web3.networkId) { - - //TODO: wtf is this - if (this.props.errorComp) - return this.props.errorComp; - return (
@@ -85,14 +80,9 @@ class LoadingContainer extends Component { ) } - //TODO: wtf is this if (this.props.drizzleStatus.initialized) return Children.only(this.props.children); - //TODO: wtf is this - if (this.props.loadingComp) - return this.props.loadingComp; - return(