Skip to content

Commit 00d4f2c

Browse files
committed
Remove redundant shortcut formatting replacement in MenuDropdownItem component
1 parent 69d737f commit 00d4f2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/components/Menu/MenuDropdownItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ function formatShortcut(shortcut: string): string {
8181
return shortcut
8282
.replace(/cmd/gi, "Ctrl")
8383
.replace(/shift/gi, "Shift")
84-
.replace(/\+/g, "+")
8584
.split("+")
8685
.map((part) => part.charAt(0).toUpperCase() + part.slice(1))
8786
.join("+")

0 commit comments

Comments
 (0)