fix: Non-unique key parameter, closes #8104

This commit is contained in:
Tom Moor committed 2024-12-12 11:39:19 -05:00
1 parent df03a6da8c
commit a458690bfc
1 file changed
+2 -2
+2 -2
View File
@@ -47,8 +47,8 @@ function Tooltip({
{typeof shortcut === "string" ? (
shortcut
.split("+")
.map((key) => (
<Shortcut key={key}>
.map((key, i) => (
<Shortcut key={`${key}${i}`}>
{key.length === 1 ? key.toUpperCase() : key}
</Shortcut>
))