Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
MizukiTemma committed Jan 9, 2025
1 parent 4b6bfda commit dc6e504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integreat_cms/static/src/js/contact_box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const addNewContactToList = (label: string, url: string) => {
const newContactRow = document.createElement("a");

newContactRow.href = url;
newContactRow.innerHTML = "<i icon-name=\"pen-square\" class=\"mr-2\"></i>" + label;
newContactRow.innerHTML = `<i icon-name="pen-square" class="mr-2"></i> ${label}`;
newContactRow.classList.add("block", "pt-2", "hover:underline");

relatedContactList.appendChild(newContactRow);
Expand Down

0 comments on commit dc6e504

Please sign in to comment.