Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dependencies": {
"@ledgerhq/hw-app-eth": "^4.7.3",
"@ledgerhq/hw-transport-u2f": "^4.7.3",
"abi-decoder": "^1.2.0",
"autoprefixer": "7.1.2",
"babel-core": "6.25.0",
"babel-eslint": "7.2.3",
Expand Down
6 changes: 1 addition & 5 deletions src/components/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import React from "react";
import {withRouter, Route, Switch} from "react-router-dom";

// Components
import FAQ from "./FAQ";
import Main from "./Main";
import Widget from "./Widget";

@withRouter
Expand All @@ -18,9 +16,7 @@ class Routes extends React.Component {
render() {
return (
<Switch>
<Route exact path="/trade-widget" render={() => <Widget section="trade-widget" />} />
<Route exact path="/faq" render={() => <FAQ />} />
<Route /*exact path="/"*/ render={() => <Main widget={<Widget section="" />} />} />
<Route /*exact path="/"*/ render={() => <Widget section="tax-exporter" />} />
{/* <Route component={ NotFound } /> */}
</Switch>
);
Expand Down
Loading