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

update appjs component structure

parent e19e150f
......@@ -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