12 lines
333 B
JavaScript
12 lines
333 B
JavaScript
import React from 'react';
|
|
import { Switch, Route } from 'react-router';
|
|
|
|
import LoginPage from './containers/LoginPage';
|
|
import LoggedInPage from './containers/LoggedInPage';
|
|
|
|
export default (
|
|
<Switch>
|
|
<Route exact path="/" component={LoginPage} />
|
|
<Route exact path="/loggedin" component={LoggedInPage} />
|
|
</Switch>
|
|
);
|