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