You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
425 B
TypeScript

7 years ago
import * as React from 'react';
import { Router } from 'react-router';
7 years ago
import './App.css';
import { JournalList } from './JournalList';
import createBrowserHistory from 'history/createBrowserHistory';
const customHistory = createBrowserHistory();
7 years ago
class App extends React.Component {
render() {
return (
<Router history={customHistory}>
<JournalList />
</Router>
7 years ago
);
}
}
export default App;