diff --git a/src/components/observer/mutation_observer/mutation_observer.stories.tsx b/src/components/observer/mutation_observer/mutation_observer.stories.tsx index 224ae201a06..96794764fc1 100644 --- a/src/components/observer/mutation_observer/mutation_observer.stories.tsx +++ b/src/components/observer/mutation_observer/mutation_observer.stories.tsx @@ -92,5 +92,5 @@ const StatefulPlayground = ( }; export const Playground: Story = { - render: ({ ...args }) => , + render: (args) => , }; diff --git a/src/components/observer/resize_observer/resize_observer.stories.tsx b/src/components/observer/resize_observer/resize_observer.stories.tsx index a7b84780c5d..885e4ff114c 100644 --- a/src/components/observer/resize_observer/resize_observer.stories.tsx +++ b/src/components/observer/resize_observer/resize_observer.stories.tsx @@ -90,5 +90,5 @@ const StatefulPlayground = (props: EuiResizeObserverProps) => { }; export const Playground: Story = { - render: ({ ...args }) => , + render: (args) => , };