Skip to content

Commit

Permalink
fix(comment): on empty
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Dec 11, 2024
1 parent 3710bd6 commit 4b83497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export const comment = (() => {
const comment = () => {
card.renderLoading();
const comments = document.getElementById('comments');
const onNullComment = `<div class="h6 text-center fw-bold p-4 my-2 bg-theme-${theme.isDarkMode('dark', 'light')} rounded-4 shadow">Yuk bagikan undangan ini biar banyak komentarnya</div>`;
const onNullComment = `<div class="text-center p-4 my-2 bg-theme-${theme.isDarkMode('dark', 'light')} rounded-4 shadow"><p class="fw-bold p-0 m-0">Yuk bagikan undangan ini biar banyak komentarnya</p></div>`;

return request(HTTP_GET, `/api/comment?per=${pagination.getPer()}&next=${pagination.getNext()}`)
.token(session.getToken())
Expand Down

0 comments on commit 4b83497

Please sign in to comment.