import React from 'react' ; import { BrowserRouter as Router } from 'react-router-dom' ; import { ToastContainer } from 'react-toastify' ; import 'react-toastify/dist/ReactToastify.css' ; import Routes from './routes' ; import GlobalStyle from './styles/global' ; const App = ( ) => ( < > < GlobalStyle /> < ToastContainer position = "top-right" autoClose = { 5000 } hideProgressBar = { false } newestOnTop closeOnClick /> < Router > < Routes /> < /Router> < />); export default App ;