refactor: Converting span to kbd tag (#2774)

This commit is contained in:
Rafi
2021-01-14 12:54:32 +05:30
committed by GitHub
parent 04c46fc01a
commit 511eb62228
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ Shortcut.defaultProps = {
};
const ShortcutKey = (props: { children: React.ReactNode }) => (
<span className="ShorcutsDialog-key" {...props} />
<kbd className="ShorcutsDialog-key" {...props} />
);
const Footer = () => (