We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca1cdb commit fe58df3Copy full SHA for fe58df3
src/modules/render/comments.js
@@ -1,5 +1,5 @@
1
import API from '../data';
2
-import counter from '../counter'
+import counter from '../counter';
3
4
const modal = document.getElementById('modal-comment');
5
@@ -70,7 +70,7 @@ const commentModal = (meal) => {
70
if (data === 'No comments available for this meal') {
71
commentUl.innerHTML = `<li class="no-comments">${`${data}. Add a new comment`}</li>`;
72
} else {
73
- let commentCounter = counter.comments(data);
+ const commentCounter = counter.comments(data);
74
allCommentsTitle.innerText = `All Comments(${commentCounter})`;
75
data.forEach((userComment) => {
76
displayComments(commentUl, userComment);
0 commit comments