mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 11:27:10 +08:00
camelCase for slot names
This commit is contained in:
@@ -158,7 +158,7 @@ class Comment extends React.Component {
|
||||
? <TagLabel><BestIndicator /></TagLabel>
|
||||
: null }
|
||||
<PubDate created_at={comment.created_at} />
|
||||
<Slot fill="Comment.InfoBar" commentId={comment.id} />
|
||||
<Slot fill="comment.infoBar" commentId={comment.id} />
|
||||
|
||||
<Content body={comment.body} />
|
||||
<div className="commentActionsLeft comment__action-container">
|
||||
@@ -189,7 +189,7 @@ class Comment extends React.Component {
|
||||
removeBest={removeBestTag} />
|
||||
</IfUserCanModifyBest>
|
||||
</ActionButton>
|
||||
<Slot fill="Comment.Detail" commentId={comment.id} />
|
||||
<Slot fill="comment.detail" commentId={comment.id} />
|
||||
</div>
|
||||
<div className="commentActionsRight comment__action-container">
|
||||
<ActionButton>
|
||||
|
||||
@@ -10,7 +10,7 @@ const lang = new I18n(translations);
|
||||
|
||||
export default class RespectButton extends React.Component {
|
||||
|
||||
static slot = 'Comment.Detail';
|
||||
static slot = 'comment.detail';
|
||||
|
||||
handleClick = () => {
|
||||
const {postRespect, showSignInDialog, deleteAction, commentId} = this.props;
|
||||
|
||||
Reference in New Issue
Block a user