Skip to content

Commit

Permalink
fix: delete unused variables from stories index file
Browse files Browse the repository at this point in the history
  • Loading branch information
akhmadullin committed Jul 16, 2021
1 parent fcdea48 commit 70b02b4
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions src/.stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,22 +438,20 @@ const ShrinkingSortableList = SortableContainer(
},
);

const NestedSortableList = SortableContainer(
({className, items, isSorting}) => {
return (
<div className={className}>
{items.map((value, index) => (
<Category
tabbable
key={`category-${value}`}
index={index}
value={value}
/>
))}
</div>
);
},
);
const NestedSortableList = SortableContainer(({className, items}) => {
return (
<div className={className}>
{items.map((value, index) => (
<Category
tabbable
key={`category-${value}`}
index={index}
value={value}
/>
))}
</div>
);
});

storiesOf('General | Layout / Vertical list', module)
.add('Basic setup', () => {
Expand Down Expand Up @@ -515,11 +513,6 @@ storiesOf('General | Layout / Horizontal list', module).add(

storiesOf('General | Layout / Grid', module)
.add('Basic setup', () => {
const transformOrigin = {
x: 0,
y: 0,
};

return (
<div className={style.root}>
<ListWrapper
Expand Down

0 comments on commit 70b02b4

Please sign in to comment.