From 9ac163c9259361b2349c73c64c5fd74e6908353c Mon Sep 17 00:00:00 2001 From: Federico Ruggi <1081051+ruggi@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:20:47 +0200 Subject: [PATCH] Fix duplicate key in inspector background section (#6438) **Problem:** The inspector background section causes duplicate keys errors. image **Fix:** Rename the keys for solid/gradient <> string background inputs so they are unique. Fixes #6437 --- .../background-subsection/solid-background-layer.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/editor/src/components/inspector/sections/style-section/background-subsection/solid-background-layer.tsx b/editor/src/components/inspector/sections/style-section/background-subsection/solid-background-layer.tsx index 2eb227918cdb..d5f9381117f5 100644 --- a/editor/src/components/inspector/sections/style-section/background-subsection/solid-background-layer.tsx +++ b/editor/src/components/inspector/sections/style-section/background-subsection/solid-background-layer.tsx @@ -117,9 +117,9 @@ export const SolidBackgroundLayer = React.memo((props onMouseDown={stopPropagation} /> ((props setOpenPopup={props.setOpenPopup} />