Refactor Lucide icon rendering by replacing nodes with root across components and fix unintended character encoding issues in placeholders and text.
This commit is contained in:
@@ -35,7 +35,7 @@ class AppMobileNav extends HTMLElement {
|
||||
<span>${t.label}</span>
|
||||
</a>`;
|
||||
}).join('')}`;
|
||||
if (window.lucide) lucide.createIcons({ nodes: [this] });
|
||||
if (window.lucide) lucide.createIcons({ root: this });
|
||||
}
|
||||
}
|
||||
customElements.define('app-mobile-nav', AppMobileNav);
|
||||
|
||||
Reference in New Issue
Block a user