Skip to content

Commit fe58df3

Browse files
committed
Fix linters error
1 parent 0ca1cdb commit fe58df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/render/comments.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import API from '../data';
2-
import counter from '../counter'
2+
import counter from '../counter';
33

44
const modal = document.getElementById('modal-comment');
55

@@ -70,7 +70,7 @@ const commentModal = (meal) => {
7070
if (data === 'No comments available for this meal') {
7171
commentUl.innerHTML = `<li class="no-comments">${`${data}. Add a new comment`}</li>`;
7272
} else {
73-
let commentCounter = counter.comments(data);
73+
const commentCounter = counter.comments(data);
7474
allCommentsTitle.innerText = `All Comments(${commentCounter})`;
7575
data.forEach((userComment) => {
7676
displayComments(commentUl, userComment);

0 commit comments

Comments
 (0)