mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
Adding show shortcuts button and minor fixes (#177)
* Adding show shortcuts button and minor fixes * Lint * Unwrapping the showComments method
This commit is contained in:
@@ -103,7 +103,7 @@ class CommentBox extends Component {
|
||||
<div className={`${name}-button-container`}>
|
||||
{ author && (
|
||||
<Button
|
||||
cStyle={length > charCount ? 'lightGrey' : 'darkGrey'}
|
||||
cStyle={!length || (charCount && length > charCount) ? 'lightGrey' : 'darkGrey'}
|
||||
className={`${name}-button`}
|
||||
onClick={this.postComment}>
|
||||
{lang.t('post')}
|
||||
|
||||
Reference in New Issue
Block a user