Skip to content

Commit

Permalink
remove deprecated key prop in descriptionAddon (#6348)
Browse files Browse the repository at this point in the history
  • Loading branch information
sookmax authored May 9, 2024
1 parent 8ed86d8 commit bf8acd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .storybook/custom-addons/descriptions/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ addons.register(ADDON_ID, (api) => {
addons.add(PANEL_ID, {
type: types.PANEL,
title: 'Description',
render: ({ active, key }) => (
<AddonPanel active={active} key={key}>
render: ({ active }) => (
<AddonPanel active={active}>
<MyPanel />
</AddonPanel>
),
Expand Down

0 comments on commit bf8acd2

Please sign in to comment.