Skip to content

Commit f5effa1

Browse files
committed
clean up
1 parent cb01343 commit f5effa1

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

packages/@react-spectrum/s2/stories/Link.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const meta: Meta<typeof Link> = {
2828
...categorizeArgTypes('Events', events)
2929
},
3030
args: {
31-
...getActionArgs([...events]),
31+
...getActionArgs(events),
3232
href: 'https://www.imdb.com/title/tt6348138/',
3333
target: '_blank'
3434
},

packages/@react-spectrum/s2/stories/TableView.stories.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ const meta: Meta<typeof TableView> = {
5050
controls: {exclude: ['onResize']}
5151
},
5252
tags: ['autodocs'],
53-
args: {
54-
...getActionArgs([...events]),
55-
// Make sure onLoadMore isn't autogenerated
56-
onLoadMore: undefined,
57-
// Make sure onAction isn't autogenerated
58-
onAction: undefined
59-
},
53+
args: {...getActionArgs(events)},
6054
argTypes: {
6155
...categorizeArgTypes('Events', ['onAction', 'onLoadMore', 'onResizeStart', 'onResize', 'onResizeEnd', 'onSelectionChange', 'onSortChange']),
6256
children: {table: {disable: true}},

packages/@react-spectrum/s2/stories/TreeView.stories.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,7 @@ const meta: Meta<typeof TreeView> = {
4949
layout: 'centered'
5050
},
5151
tags: ['autodocs'],
52-
args: {
53-
...getActionArgs([...events]),
54-
// Make sure onAction isn't autogenerated
55-
// @ts-ignore
56-
onAction: null
57-
},
52+
args: {...getActionArgs(events)},
5853
argTypes: {
5954
...categorizeArgTypes('Events', events),
6055
children: {table: {disable: true}},

0 commit comments

Comments
 (0)