Skip to content

Commit

Permalink
Merge pull request #2 from mostafanassar123/newbranch
Browse files Browse the repository at this point in the history
newbranch updates
  • Loading branch information
mostafanassar123 authored Feb 17, 2020
2 parents e30fd73 + 4f510a9 commit 82b28f5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/routes.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import React from 'react';
import { Route, Switch } from 'react-router-dom';
import LoginPage from './Pages/Login';
import TodosPage from './Pages/Todos';


import React from "react";
import { Route, Switch } from "react-router-dom";
import LoginPage from "./Pages/Login";
import TodosPage from "./Pages/Todos";

export default () => (
<Switch>
<Route path="/" exact component={LoginPage} />

<Route path="/todos" exact component={TodosPage} />
</Switch>
)
);

0 comments on commit 82b28f5

Please sign in to comment.