From eccc21691d52917ffd9d4eb7658fbae969e88e9d Mon Sep 17 00:00:00 2001
From: secondl1ght <85003930+secondl1ght@users.noreply.github.com>
Date: Tue, 8 Feb 2022 10:24:50 -0700
Subject: [PATCH] Remove else statement
---
src/components/App.jsx | 178 ++++++++++++++++++++---------------------
1 file changed, 89 insertions(+), 89 deletions(-)
diff --git a/src/components/App.jsx b/src/components/App.jsx
index 9f0900f3..db217d79 100644
--- a/src/components/App.jsx
+++ b/src/components/App.jsx
@@ -92,95 +92,95 @@ export default function App() {
if (settings.showOnboarding === true) {
return
- } else
- return (
- <>
-
-
- {connectionError ? (
- No connection to backend: {connectionError}.
- ) : (
-
- }
- />
- }
- />
- {currentWallet && (
- <>
- : }
- />
- } />
- } />
- } />
- } />
- >
- )}
-
- )}
-
-
-
- {connectionError ? (
-
- •
- Disconnected
-
- ) : (
-
- •
- Connected
-
+ }
+ return (
+ <>
+
+
+ {connectionError ? (
+ No connection to backend: {connectionError}.
+ ) : (
+
+ }
+ />
+ }
+ />
+ {currentWallet && (
+ <>
+ : }
+ />
+ } />
+ } />
+ } />
+ } />
+ >
)}
-
-
-
- Docs
-
-
-
-
- Features
-
-
-
-
- GitHub
-
-
-
-
- Twitter
-
-
+
+ )}
+
+
+
+ {connectionError ? (
+
+ •
+ Disconnected
-
-
- >
- )
+ ) : (
+
+ •
+ Connected
+
+ )}
+
+
+
+ >
+ )
}