diff options
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r-- | vnext/src/components/Thread.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 7464ca7f..5ff91346 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -8,6 +8,7 @@ import MessageInput from './MessageInput'; import Spinner from './Spinner'; import Avatar from './Avatar'; import Icon from './Icon'; +import Button from './Button'; import { format } from '../utils/embed'; @@ -149,12 +150,12 @@ export default class Thread extends React.Component { { this.props.visitor.uid > 0 ? ( <React.Fragment> - {this.state.active === msg.rid || <button onClick={this.setActive.bind(this, msg)} className="badge"><Icon name="ei-envelope" size="s" />Reply</button>} + {this.state.active === msg.rid || <Button onClick={this.setActive.bind(this, msg)}><Icon name="ei-envelope" size="s" />Reply</Button>} {this.state.active === msg.rid && <MessageInput data={msg} onSend={this.postComment} />} </React.Fragment> ) : ( <React.Fragment> - <span> · </span>{this.state.active === msg.rid || <button className="a-login">Reply</button>} + <span> · </span>{this.state.active === msg.rid || <Button className="a-login">Reply</Button>} </React.Fragment> ) } |