import React, { Component } from 'react';
import { Switch, Route } from 'react-router-dom';
import FirmQuotation from 'pages/quotation/View';
import QuotationChart from 'pages/quotation-chart/View';
import FirmTradeIndex from 'pages/trade/FirmTradeIndex';
import FirmOrderIndex from 'pages/order/FirmOrderIndex';
import EditInterestCode from 'pages/interestCode/EditInterestCode';

class QuotesDetailRoute extends Component {
  componentDidMount() {

  }
  render() {
    return (
      <Switch>
        <Route path="/quotationSort" component={FirmQuotation} />
        <Route path="/FirmQuotation" component={FirmQuotation} />
        <Route path="/EditInterestCode" component={EditInterestCode} />
        <Route path="/QuotationChart/:instrument/:pid" component={QuotationChart} />
        <Route path="/FirmTradeIndex/:pid" component={FirmTradeIndex} />
        <Route path="/FirmOrderIndex/:pid" component={FirmOrderIndex} />
      </Switch>
    );
  }
}

export default QuotesDetailRoute;
