import React, { Component } from 'react'; import './App.css'; import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; // import proxy from './Redux/proxy'; import Home from './views/Home/index'; import Faq from './views/Faq/index'; import Contact from './views/Contact/index'; import About from './views/About/index'; import Products from './views/Products/index'; import Product from './views/Product/index'; import Sample from './views/Product/Sample/index'; class AppRouter extends Component { constructor(props) { super(props); window.router = this; } state = {}; render() { let home = ( {/* {proxy.status() ? : } */} ); return ( {home} {/* */} ); } } export default AppRouter;