From 2b56b71b7b18bc5ddcf098ebc6056ee523c7141d Mon Sep 17 00:00:00 2001 From: AvremelM <1865736+AvremelM@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:32:21 -0400 Subject: [PATCH] Update manager.ts, remove key as per https://github.com/storybookjs/storybook/pull/23792 --- addon/src/manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/src/manager.ts b/addon/src/manager.ts index ffbb770..cfda89e 100644 --- a/addon/src/manager.ts +++ b/addon/src/manager.ts @@ -9,11 +9,11 @@ addons.register(ADDON_ID, () => { title: "Design Tokens", paramKey: PARAM_KEY, match: ({ viewMode }) => viewMode === "story", - render: ({ active, key }) => { + render: ({ active }) => { if (!active) { return null; } - return React.createElement(Panel, { key, active }); + return React.createElement(Panel, { active }); }, }); });