From 26a742315167690c32c5a19d30db1383cff92992 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Tue, 22 Nov 2022 16:42:21 +0000 Subject: [PATCH] Chore: add some unique keys to prevent warnings (#59143) add some unique keys to prevent warnings --- public/app/features/dashboard/components/DashNav/DashNav.tsx | 1 + public/app/features/scenes/components/Scene.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/public/app/features/dashboard/components/DashNav/DashNav.tsx b/public/app/features/dashboard/components/DashNav/DashNav.tsx index 0ced7a34b85..5ffbef293d9 100644 --- a/public/app/features/dashboard/components/DashNav/DashNav.tsx +++ b/public/app/features/dashboard/components/DashNav/DashNav.tsx @@ -342,6 +342,7 @@ export const DashNav = React.memo((props) => { if (config.featureToggles.scenes) { buttons.push( locationService.push(`/scenes/dashboard/${dashboard.uid}`)} diff --git a/public/app/features/scenes/components/Scene.tsx b/public/app/features/scenes/components/Scene.tsx index fe4731c13da..f870c91b57a 100644 --- a/public/app/features/scenes/components/Scene.tsx +++ b/public/app/features/scenes/components/Scene.tsx @@ -41,6 +41,7 @@ function SceneRenderer({ model }: SceneComponentProps) { if ($editor) { toolbarActions.push( model.setState({ isEditing: !model.state.isEditing })}