Skip to content

Commit

Permalink
Don't use key when rendering addon
Browse files Browse the repository at this point in the history
  • Loading branch information
reyronald authored Jan 9, 2024
1 parent 69ff70f commit 14f9c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ addons.register(ADDON_ID, () => {
addons.add(PANEL_ID, {
type: types.PANEL,
title: 'Formik',
render: ({ active, key }) => (
<AddonPanel active={!!active} key={key}>
render: ({ active }) => (
<AddonPanel active={!!active}>
<FormikPanel />
</AddonPanel>
),
Expand Down

0 comments on commit 14f9c8b

Please sign in to comment.