1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

change: use ternary instead of short circuit

This commit is contained in:
frost768 2023-03-31 21:07:58 +03:00
parent efcb12f95a
commit 92ef687ddc

View file

@ -40,7 +40,7 @@ function App() {
/>
{/* other */}
{process.env.NODE_ENV === "development" && (
{process.env.NODE_ENV === "development" ? (
<>
<Route
exact
@ -78,7 +78,7 @@ function App() {
)}
/>
</>
)}
) : null}
<Route path="*" component={NotFoundPage} />
</Switch>
</Layout>