Skip to content

Commit 15b79b1

Browse files
authored
fix(code): fix skills default highlight (#1325)
## Problem skills view auto-selects a skill when you open it, but it doesn't highlight that skill <!-- Who is this for and what problem does it solve? --> <!-- Closes #ISSUE_ID --> ## Changes fixes it <!-- What did you change and why? --> <!-- If there are frontend changes, include screenshots. --> ## How did you test this? <!-- Describe what you tested -- manual steps, automated tests, or both. --> <!-- If you're an agent, only list tests you actually ran. -->
1 parent d2bc79e commit 15b79b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/code/src/renderer/features/skills/components/SkillsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function SkillsView() {
113113
key={source}
114114
title={config.sectionTitle}
115115
skills={items}
116-
selectedPath={selectedPath}
116+
selectedPath={selectedSkill?.path ?? null}
117117
onSelect={handleSelect}
118118
/>
119119
);

0 commit comments

Comments
 (0)