From be757468eb21c96ba3fef054d4ddf95552a3b218 Mon Sep 17 00:00:00 2001 From: Andrii Ihnatiuk Date: Fri, 19 Jun 2026 12:41:55 +0300 Subject: [PATCH] fix(command-palette): use data-checked for theme selection tick instead of manual icon --- src/modules/command-palette/CommandPalette.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/modules/command-palette/CommandPalette.tsx b/src/modules/command-palette/CommandPalette.tsx index e3ed545b8..4eabc9f87 100644 --- a/src/modules/command-palette/CommandPalette.tsx +++ b/src/modules/command-palette/CommandPalette.tsx @@ -21,7 +21,6 @@ import { AlertCircleIcon, ArrowTurnBackwardIcon, CommandIcon, - Tick02Icon, TerminalIcon, } from "@hugeicons/core-free-icons"; import { HugeiconsIcon } from "@hugeicons/react"; @@ -254,16 +253,9 @@ export function CommandPalette({ value={`theme:${t.id}`} onSelect={() => commitTheme(t.id)} className="text-[12.5px]" + data-checked={t.id === themeId} > {t.name} - {t.id === themeId ? ( - - ) : null} ))} {themes.length === 0 ? : null}