mirror of
https://github.com/wassname/talk.git
synced 2026-08-16 11:29:31 +08:00
External plugin auth fully working, now refactor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user