mirror of
https://github.com/wassname/talk.git
synced 2026-08-02 13:10:23 +08:00
CSS cleanup
This commit is contained in:
@@ -2,11 +2,17 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Button } from 'plugin-api/beta/client/components/ui';
|
||||
import { t } from 'plugin-api/beta/client/services';
|
||||
import styles from './SignInButton.css';
|
||||
|
||||
const SignInButton = ({ currentUser, showSignInDialog }) => (
|
||||
<div className="talk-stream-auth-sign-in-button">
|
||||
{!currentUser ? (
|
||||
<Button id="coralSignInButton" onClick={showSignInDialog} full>
|
||||
<Button
|
||||
id="coralSignInButton"
|
||||
className={styles.button}
|
||||
onClick={showSignInDialog}
|
||||
full
|
||||
>
|
||||
{t('talk-plugin-auth.login.sign_in_to_comment')}
|
||||
</Button>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user