-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrouter.jsx
29 lines (28 loc) · 845 Bytes
/
router.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React from 'react';
import {Redirect, Switch, Route } from 'react-router';
export default (
<Switch>
<Route path="/swap" />
<Route path="/swap/:outputCurrency" />
<Route path="/find" />
<Route path="/pools" />
<Route path="/pools/:currencyIdA" />
<Route path="/pools/:currencyIdA/:currencyIdB" />
<Route path="/farms" />
<Route path="/myPools" />
<Route path="/create" />
<Route path="/create/:currencyIdA" />
<Route
path="/create/:currencyIdA/:currencyIdB"
/>
<Route path="/add/:currencyIdA/:currencyIdB/:pairAddress" />
<Route
path="/remove/:currencyIdA/:currencyIdB/:pairAddress"
/>
<Route path="/about/kyberswap" />
<Route path="/about/knc" />
<Route path="/referral" />
<Route path="/discover" />
<Redirect to='/swap'/>
</Switch>
)