Skip to content

Commit a181db1

Browse files
committed
chore(storybook): update usage of ...args to just args
1 parent 82a4d16 commit a181db1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/observer/mutation_observer/mutation_observer.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ const StatefulPlayground = (
9292
};
9393

9494
export const Playground: Story = {
95-
render: ({ ...args }) => <StatefulPlayground {...args} />,
95+
render: (args) => <StatefulPlayground {...args} />,
9696
};

src/components/observer/resize_observer/resize_observer.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ const StatefulPlayground = (props: EuiResizeObserverProps) => {
9090
};
9191

9292
export const Playground: Story = {
93-
render: ({ ...args }) => <StatefulPlayground {...args} />,
93+
render: (args) => <StatefulPlayground {...args} />,
9494
};

0 commit comments

Comments
 (0)