Skip to content

Commit

Permalink
fix: use index as key to be not newly generated all the time (#887)
Browse files Browse the repository at this point in the history
* Revert "Fix Tab Component again (#886)"

This reverts commit 6bb5ebe.

* fix: use index as key to be not newly generated all the time
  • Loading branch information
mstruebing authored Nov 25, 2022
1 parent 6bb5ebe commit e37a1a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tabs/stories/Tabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const Template: Story<TabsProps> = ({ direction, ...args }: TabsProps) => {
>
<TabItem>
<TabTitle>Tab 1</TabTitle>
Tab content.
<div>Tab content - Section 1.</div>
<div>Tab content - Section 2.</div>
</TabItem>
<TabItem>
<TabTitle>Tab 2</TabTitle>
Expand Down

0 comments on commit e37a1a7

Please sign in to comment.