Commit 748bbc12 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

minor udpate

parent 0c930365
...@@ -34,12 +34,15 @@ class Component extends PureComponent { ...@@ -34,12 +34,15 @@ class Component extends PureComponent {
render() { render() {
// console.error("Component", this.props) // console.error("Component", this.props)
if (!this.props.token) { if (!this.props.token) {
return ( return (
<p>No token</p> <p>No token</p>
) )
} }
let idtokenView = null let idtokenView = null
let extxt = expiresText(this.props.token.expires) let extxt = expiresText(this.props.token.expires)
......
...@@ -8,12 +8,13 @@ import Header from '../components/Header' ...@@ -8,12 +8,13 @@ import Header from '../components/Header'
const App = ({}) => ( const App = ({}) => (
<div> <div>
<Header /> <Header />
<MainContent /> <MainContent />
<Footer /> <Footer />
</div> </div>
) )
const mapStateToProps = (state) => ({ const mapStateToProps = (state) => ({
intro: !state.token
}) })
const mapDispatchToProps = { const mapDispatchToProps = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment