Skip to content

Commit

Permalink
HFUI: redirect '/' to '/algo-orders'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Plaster committed Jul 15, 2019
1 parent 550227c commit 1e6af0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/HFUI/HFUI.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { Spinner, Intent } from '@blueprintjs/core'
import { Route } from 'react-router-dom'
import { Route, Redirect } from 'react-router-dom'
import _isEmpty from 'lodash/isEmpty'

import APIComboDialog from '../APIComboDialog'
Expand Down Expand Up @@ -62,7 +62,7 @@ export default class HFUI extends React.Component {
<div className='hfui'>
<div className='hfui_content__wrapper'>
<Route component={SideNavBar} />
<Route exact path='/index.html' component={AlgoOrdersView} />
<Redirect exact from='/' to='/algo-orders' />
<Route path='/algo-orders' component={AlgoOrdersView} />
</div>

Expand Down

0 comments on commit 1e6af0b

Please sign in to comment.