External plugin auth fully working, now refactor

This commit is contained in:
Belen Curcio
2017-05-19 20:00:33 -03:00
parent dbfd2aff7c
commit 801a6f8a53
17 changed files with 177 additions and 63 deletions
@@ -16,7 +16,9 @@ const SignInButton = ({loggedIn, showSignInDialog}) => (
</div>
);
const mapStateToProps = ({auth}) => ({loggedIn: auth.loggedIn});
const mapStateToProps = ({auth}) => ({
loggedIn: auth.toJS().loggedIn
});
const mapDispatchToProps = dispatch =>
bindActionCreators({showSignInDialog}, dispatch);