diff --git a/packages/storybook-addon-designs/src/blocks.tsx b/packages/storybook-addon-designs/src/blocks.tsx index dfdda46..3347489 100644 --- a/packages/storybook-addon-designs/src/blocks.tsx +++ b/packages/storybook-addon-designs/src/blocks.tsx @@ -146,11 +146,9 @@ export const DocBlockBase: FC = ({ title: collapsed ? "Show" : "Hide", onClick: () => { const newValue = !collapsed; - if (onCollapsedChange) { onCollapsedChange(newValue, collapsed); } - setCollapsed(newValue); }, },