From 233bf0757ea62f275be2ad381110157197ee2fb7 Mon Sep 17 00:00:00 2001 From: David Leek Date: Fri, 5 Jul 2024 08:24:51 +0200 Subject: [PATCH] chore: fix command bar key prop usage (#7534) --- .../commandBar/CommandQuickSuggestions.tsx | 3 +++ .../RecentlyVisited/CommandResultGroup.tsx | 18 +++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/frontend/src/component/commandBar/CommandQuickSuggestions.tsx b/frontend/src/component/commandBar/CommandQuickSuggestions.tsx index 42307252b48f..025a02f410d5 100644 --- a/frontend/src/component/commandBar/CommandQuickSuggestions.tsx +++ b/frontend/src/component/commandBar/CommandQuickSuggestions.tsx @@ -19,6 +19,7 @@ const toListItemButton = ( if (item.featureId && item.projectId) { return ( void; }) => { @@ -95,7 +95,7 @@ export const RecentlyVisitedPathButton = ({ return ( void; }) => { const { trackEvent } = usePlausibleTracker(); @@ -141,7 +141,7 @@ export const RecentlyVisitedProjectButton = ({ if (projectDeleted) return null; return ( void; @@ -185,7 +185,7 @@ export const RecentlyVisitedFeatureButton = ({ }; return (