mirror of
https://github.com/wassname/talk.git
synced 2026-08-16 11:29:31 +08:00
Auth as a plugin
This commit is contained in:
@@ -6,13 +6,11 @@ import {showSignInDialog} from 'coral-framework/actions/auth';
|
||||
|
||||
const SignInButton = ({loggedIn, showSignInDialog}) => (
|
||||
<div>
|
||||
{
|
||||
!loggedIn ? (
|
||||
<Button id="coralSignInButton" onClick={showSignInDialog} full>
|
||||
{!loggedIn
|
||||
? <Button id="coralSignInButton" onClick={showSignInDialog} full>
|
||||
Sign in to comment
|
||||
</Button>
|
||||
) : null
|
||||
}
|
||||
: null}
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user