Skip to content

Commit

Permalink
fix(storybook): broken virtual story
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovicentegc committed Jan 18, 2024
1 parent ef37dc1 commit 605bea1
Show file tree
Hide file tree
Showing 2 changed files with 4,388 additions and 12,672 deletions.
11 changes: 1 addition & 10 deletions packages/primitives/src/virtual/stories/virtual.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,7 @@ export function Fixed() {
>
<VirtualItem asChild>
{({ index }) => {
return (
<div
className="row"
style={{
background: index % 2 !== 0 ? 'gray' : 'white',
}}
>
Item {index}
</div>
)
return <div className="row">Item {index}</div>
}}
</VirtualItem>
</Virtual>
Expand Down
Loading

0 comments on commit 605bea1

Please sign in to comment.