We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba16fcc commit fe31906Copy full SHA for fe31906
apps/webapp/app/components/primitives/ShortcutKey.tsx
@@ -53,7 +53,7 @@ export function ShortcutKey({ shortcut, variant, className }: ShortcutKeyProps)
53
);
54
}
55
56
-function keyString(key: String, isMac: boolean, variant: "small" | "medium" | "medium/bright") {
+function keyString(key: string, isMac: boolean, variant: "small" | "medium" | "medium/bright") {
57
key = key.toLowerCase();
58
59
const className = variant === "small" ? "w-2.5 h-4" : "w-3 h-5";
0 commit comments