Skip to content

Commit

Permalink
Update manager.ts, remove key as per storybookjs/storybook#23792
Browse files Browse the repository at this point in the history
  • Loading branch information
AvremelM authored Oct 24, 2023
1 parent 5c86eb7 commit 2b56b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/src/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
},
});
});

0 comments on commit 2b56b71

Please sign in to comment.