diff --git a/apps/comments-ui/src/components/CommentsBox.js b/apps/comments-ui/src/components/CommentsBox.js
index 31b6709fc0..66fe559c2e 100644
--- a/apps/comments-ui/src/components/CommentsBox.js
+++ b/apps/comments-ui/src/components/CommentsBox.js
@@ -13,7 +13,7 @@ const CommentsBoxTitle = ({title, showCount, count}) => {
return null;
}
- const Title = ({title}) => {
+ const Title = () => {
if (title === null) {
return (
<>
Member discussion>
@@ -23,7 +23,7 @@ const CommentsBoxTitle = ({title, showCount, count}) => {
return title;
};
- const Count = ({showCount, count}) => {
+ const Count = () => {
if (!showCount) {
return null;
}
@@ -42,9 +42,9 @@ const CommentsBoxTitle = ({title, showCount, count}) => {
return (
-
+
-
+
);
};
diff --git a/apps/comments-ui/src/components/modals/AddDetailsDialog.js b/apps/comments-ui/src/components/modals/AddDetailsDialog.js
index b34a3f8384..846cab25c5 100644
--- a/apps/comments-ui/src/components/modals/AddDetailsDialog.js
+++ b/apps/comments-ui/src/components/modals/AddDetailsDialog.js
@@ -59,7 +59,7 @@ const AddNameDialog = (props) => {
clearTimeout(timer);
};
}
- }, [inputNameRef, inputBioRef]);
+ }, [inputNameRef, inputBioRef, props.bioAutofocus]);
const renderExampleProfiles = (index) => {
const renderEl = (profile) => {