Skip to content

Commit cf833a1

Browse files
committed
refactor: use constant for lucide icons string
1 parent fb0e354 commit cf833a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/icon-pack-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ export const loadIcon = async (
405405
}
406406

407407
if (iconPack === NATIVE_LUCIDE_ICON_PACK_NAME) {
408-
// Icons already exist for Obsidian.
408+
// Lucide icons already exist for Obsidian.
409409
const lucideIcons = iconPacks.find(
410-
(iconPack) => iconPack.name === 'lucide-icons',
410+
(iconPack) => iconPack.name === NATIVE_LUCIDE_ICON_PACK_NAME,
411411
);
412412
const icon = lucideIcons.icons.find((icon) => icon.name === name);
413413
preloadedIcons.push(icon);

0 commit comments

Comments
 (0)