From 40c5dc2cb09410f1dae24b921c352b7738e07029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Uribe=20Stengel?= Date: Thu, 16 Jul 2020 14:04:21 +0200 Subject: [PATCH] Refactor code a bit. --- imports/ui/Home.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imports/ui/Home.jsx b/imports/ui/Home.jsx index fac6ca3..8595ea6 100644 --- a/imports/ui/Home.jsx +++ b/imports/ui/Home.jsx @@ -30,7 +30,7 @@ export default function Home() { } - if (sensorData.length <= 0) { + /*if (sensorData.length <= 0) { return ( @@ -41,8 +41,8 @@ export default function Home() { ) - } else { - return ( + } else {}*/ + return ( <> @@ -121,5 +121,5 @@ export default function Home() { - )} + ) } \ No newline at end of file