mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-30 16:17:41 +01:00
change: use ternary instead of short circuit
This commit is contained in:
parent
efcb12f95a
commit
92ef687ddc
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue