From 550b45a60e08a3adcc086f4bb6d7ea22d8a34a27 Mon Sep 17 00:00:00 2001 From: Bereczki Sandor <bsandor453@gmail.com> Date: Sun, 20 Jan 2019 02:15:38 +0100 Subject: [PATCH] Quick ESList singlequote fix --- src/components/Main.js | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/components/Main.js b/src/components/Main.js index 8307cbb..c24e23e 100644 --- a/src/components/Main.js +++ b/src/components/Main.js @@ -1,27 +1,27 @@ -import React from "react"; -import { Switch, Route, Redirect, withRouter } from "react-router-dom"; +import React from 'react'; +import { Switch, Route, Redirect, withRouter } from 'react-router-dom'; -import Home from "./pages/Home"; -import Trainers from "./pages/Trainers"; -import Schedule from "./pages/Schedule"; -import NotFound from "./pages/NotFound"; -import Profile from "./pages/Profile"; -import Statistics from "./pages/Statistics"; -import Groups from "./pages/Groups"; -import News from "./pages/News"; -import Homework from "./pages/Homework"; +import Home from './pages/Home'; +import Trainers from './pages/Trainers'; +import Schedule from './pages/Schedule'; +import NotFound from './pages/NotFound'; +import Profile from './pages/Profile'; +import Statistics from './pages/Statistics'; +import Groups from './pages/Groups'; +import News from './pages/News'; +import Homework from './pages/Homework'; const Main = () => ( <Switch> - <Redirect exact from="/" to="/home" /> - <Route exact path="/home" component={Home} /> - <Route path="/news" component={News} /> - <Route path="/trainers" component={Trainers} /> - <Route path="/schedule" component={Schedule} /> - <Route path="/profile" component={withRouter(Profile)} /> - <Route path="/statistics" component={Statistics} /> - <Route path="/groups" component={Groups} /> - <Route path="/homework" component={Homework} /> + <Redirect exact from='/' to='/home' /> + <Route exact path='/home' component={Home} /> + <Route path='/news' component={News} /> + <Route path='/trainers' component={Trainers} /> + <Route path='/schedule' component={Schedule} /> + <Route path='/profile' component={withRouter(Profile)} /> + <Route path='/statistics' component={Statistics} /> + <Route path='/groups' component={Groups} /> + <Route path='/homework' component={Homework} /> <Route component={NotFound} /> </Switch> ); -- GitLab