import React from 'react';
import { Redirect, Route, Switch } from 'react-router-dom';

import JKPrivacy from '../components/page/JKPrivacy';


const JKPublicRoutes = () => (
  
  <Switch>
    <Route path="/privacy" component={JKPrivacy} />
    {/*Redirect*/}
    <Redirect to="/errors/404" />
  </Switch>
);


export default JKPublicRoutes;
