Skip to content

Commit bf8acd2

Browse files
authored
remove deprecated key prop in descriptionAddon (#6348)
1 parent 8ed86d8 commit bf8acd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.storybook/custom-addons/descriptions/register.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ addons.register(ADDON_ID, (api) => {
1919
addons.add(PANEL_ID, {
2020
type: types.PANEL,
2121
title: 'Description',
22-
render: ({ active, key }) => (
23-
<AddonPanel active={active} key={key}>
22+
render: ({ active }) => (
23+
<AddonPanel active={active}>
2424
<MyPanel />
2525
</AddonPanel>
2626
),

0 commit comments

Comments
 (0)