Skip to content

Commit fe31906

Browse files
Update apps/webapp/app/components/primitives/ShortcutKey.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent ba16fcc commit fe31906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/components/primitives/ShortcutKey.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function ShortcutKey({ shortcut, variant, className }: ShortcutKeyProps)
5353
);
5454
}
5555

56-
function keyString(key: String, isMac: boolean, variant: "small" | "medium" | "medium/bright") {
56+
function keyString(key: string, isMac: boolean, variant: "small" | "medium" | "medium/bright") {
5757
key = key.toLowerCase();
5858

5959
const className = variant === "small" ? "w-2.5 h-4" : "w-3 h-5";

0 commit comments

Comments
 (0)