Skip to content

Commit

Permalink
Remove /info homepage path
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenkhong committed Apr 26, 2021
1 parent 2d28694 commit f36aee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "demex-website",
"version": "0.1.0",
"private": true,
"homepage": "/info",
"dependencies": {
"@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ render(
<PreferenceThemeProvider>
<BrowserRouter>
<Switch>
<Route exact path="/info">
<Route exact path="/">
<MainLayout>
<HeroSection />
<MarketsTable />
Expand All @@ -41,7 +41,7 @@ render(
<ReadyToTrade />
</MainLayout>
</Route>
<Redirect to="/info" />
<Redirect to="/" />
</Switch>
</BrowserRouter>
</PreferenceThemeProvider>
Expand Down

0 comments on commit f36aee0

Please sign in to comment.