Commit fe1abe5a authored by ian-jh's avatar ian-jh

fix code style on app.js

parent 3d452b70
......@@ -46,7 +46,7 @@ export default function App() {
{/* this Suspense is for route code-splitting */}
<Suspense fallback={null}>
<Switch>
<Route exact strict path="/swap" component={() => <Swap />} />
<Route exact strict path="/swap" component={<Swap />} />
<Route
exact
strict
......@@ -59,7 +59,7 @@ export default function App() {
}
}}
/>
<Route exact strict path="/send" component={() => <Send />} />
<Route exact strict path="/send" component={<Send />} />
<Route
exact
strict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment