Skip to content

Commit f589e98

Browse files
Fix for t2.trim is not a function
credit to itaditya#25
1 parent c9c78cf commit f589e98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/Panel/Result/Result.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ const ResultContent: Component<ResultContentProps> = (p) => {
2222
</div>
2323
<div>
2424
<Show when={p.action.shortcut}>
25-
{(shortcut) => (
2625
<KbdShortcut
2726
class={styles.resultShortcut}
28-
shortcut={shortcut}
27+
shortcut={p.action.shortcut!}
2928
/>
30-
)}
3129
</Show>
3230
</div>
3331
</div>

0 commit comments

Comments
 (0)