From a458690bfcf854ddab8b1131fc3d20366a966cb3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 12 Dec 2024 11:39:19 -0500 Subject: [PATCH] fix: Non-unique key parameter, closes #8104 --- app/components/Tooltip.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Tooltip.tsx b/app/components/Tooltip.tsx index c155ed58e0..caa7e058fa 100644 --- a/app/components/Tooltip.tsx +++ b/app/components/Tooltip.tsx @@ -47,8 +47,8 @@ function Tooltip({ {typeof shortcut === "string" ? ( shortcut .split("+") - .map((key) => ( - + .map((key, i) => ( + {key.length === 1 ? key.toUpperCase() : key} ))