mirror of
https://github.com/outline/outline.git
synced 2026-12-05 18:55:10 +03:00
fix: Non-unique key parameter, closes #8104
This commit is contained in:
1 parent
df03a6da8c
commit
a458690bfc
1 file changed
+2
-2
@@ -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>
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user