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

minor udpate

parent 0c930365
......@@ -34,12 +34,15 @@ class Component extends PureComponent {
render() {
// console.error("Component", this.props)
if (!this.props.token) {
return (
<p>No token</p>
)
}
let idtokenView = null
let extxt = expiresText(this.props.token.expires)
......
......@@ -14,6 +14,7 @@ const App = ({}) => (
)
const mapStateToProps = (state) => ({
intro: !state.token
})
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