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:
@@ -85,7 +85,7 @@ class AppTopbar extends HTMLElement {
|
||||
</button>
|
||||
</div>` : ''}`;
|
||||
|
||||
if (window.lucide) lucide.createIcons({ nodes: [this] });
|
||||
if (window.lucide) lucide.createIcons({ root: this });
|
||||
|
||||
this.querySelector('#user-menu-btn')?.addEventListener('click', e => {
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user