From 92ef687ddce3d36f3bc19bc28f6c5fd187a7e57d Mon Sep 17 00:00:00 2001 From: frost768 Date: Fri, 31 Mar 2023 21:07:58 +0300 Subject: [PATCH] change: use ternary instead of short circuit --- src/setup/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setup/App.tsx b/src/setup/App.tsx index 70cca9d1..6aef8905 100644 --- a/src/setup/App.tsx +++ b/src/setup/App.tsx @@ -40,7 +40,7 @@ function App() { /> {/* other */} - {process.env.NODE_ENV === "development" && ( + {process.env.NODE_ENV === "development" ? ( <> - )} + ) : null}