1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 10:25:00 +01:00
portfolio/src/Routes.js
2018-03-18 20:39:18 +01:00

14 lines
322 B
JavaScript

import React from 'react'
import { Route, Switch } from 'react-router-dom'
import Home from './components/pages/Home'
import NotFound from './components/pages/NotFound'
const Routes = () => (
<Switch>
<Route exact component={Home} path="/" />
<Route component={NotFound} />
</Switch>
)
export default Routes