This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/Dashboard/app/renderer/routes.js

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>
);