-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to #13
- Loading branch information
Showing
18 changed files
with
326 additions
and
413 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
|
||
import React from 'react' | ||
import {BrowserRouter} from 'react-router-dom' | ||
|
||
import {ConnectedRouter} from 'react-router-redux' | ||
import {Route} from 'react-router-dom' | ||
|
||
import history from './history' | ||
|
||
import Layout from './components/layout' | ||
import WelcomeScreen from './components/welcome-screen' | ||
import ContractLayout from './components/new-contract' | ||
import Contract from './components/contract' | ||
import ContractFeedback from './components/contract-feedback' | ||
import ContractList from './components/contract-list' | ||
import ContractContainer from './components/contract-container-dummy' | ||
|
||
import ContractsListScreen from './components/contracts-list-screen' | ||
import NewContractScreen from './components/new-contract-screen' | ||
import ContractDetailsScreen from './components/contract-details-screen' | ||
|
||
export default function App() { | ||
return ( | ||
<BrowserRouter> | ||
<ConnectedRouter history={history}> | ||
<Layout> | ||
<Route exact path='/' component={WelcomeScreen} /> | ||
<Route exact path='/new' component={ContractLayout} /> | ||
<Route exact path='/contract' component={Contract} /> | ||
<Route exact path='/feedback' component={ContractFeedback} /> | ||
<Route exact path='/contract-list' component={ContractList} /> | ||
<Route exact path='/container' component={ContractContainer} /> | ||
<Route exact path='/' component={ContractsListScreen} /> | ||
<Route exact path='/new' component={NewContractScreen} /> | ||
<Route path='/contract/:address' component={ContractDetailsScreen} /> | ||
</Layout> | ||
</BrowserRouter> | ||
</ConnectedRouter> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.