From 31cdf964f773165d40947858d9da3371a6f1c217 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 6 Apr 2017 20:08:41 +0700 Subject: [PATCH] Simple camelCase for slot naming --- client/coral-embed-stream/src/Comment.js | 4 ++-- plugins/coral-plugin-respect/client/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/coral-embed-stream/src/Comment.js b/client/coral-embed-stream/src/Comment.js index fc5a072b9..45f2ef084 100644 --- a/client/coral-embed-stream/src/Comment.js +++ b/client/coral-embed-stream/src/Comment.js @@ -158,7 +158,7 @@ class Comment extends React.Component { ? : null } - +
@@ -189,7 +189,7 @@ class Comment extends React.Component { removeBest={removeBestTag} /> - +
diff --git a/plugins/coral-plugin-respect/client/index.js b/plugins/coral-plugin-respect/client/index.js index 0170bd5e6..2caa6611b 100644 --- a/plugins/coral-plugin-respect/client/index.js +++ b/plugins/coral-plugin-respect/client/index.js @@ -1,6 +1,6 @@ import RespectButton from './containers/RespectButton'; export default { slots: { - 'comment.detail': [RespectButton], + commentDetail: [RespectButton], } };