marten-application/src/App.js

23 lines
434 B
JavaScript
Raw Normal View History

2018-09-19 20:42:56 +00:00
import React, { Component } from 'react';
import Main from './components/Main';
import './App.css';
import { CookiesProvider } from 'react-cookie';
2018-09-19 20:42:56 +00:00
class App extends Component {
2018-11-09 02:57:00 +00:00
componentDidMount() {
document.title = 'Marten Tracker';
}
2018-09-19 20:42:56 +00:00
render() {
return (
<CookiesProvider>
2018-09-19 20:42:56 +00:00
<div>
<Main/>
</div>
</CookiesProvider>
2018-09-19 20:42:56 +00:00
);
}
}
export default App;