import React from 'react' ; import './App.style.ts' ; import { HashRouter as Router } from 'react-router-dom' ; import { Provider } from 'react-redux' ; import { renderRoutes } from 'react-router-config' ; import routes from './routes' ; import { composeStore } from './store' ; import { GlobalStyle } from './App.style' ; import { IconStyle } from 'assets/iconfont' ; import './fix.css' ; const App = ( ) => { return ( < Provider store = { composeStore } > < Router > < GlobalStyle /> < IconStyle / > { renderRoutes ( routes ) } < /Router> < /Provider>); } ; export default App ;