From a1b85df17c95146b5b48c86e2b3f7336f74dea79 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 8 Jan 2024 02:15:43 +0800 Subject: [PATCH] Code formatting change to trigger release --- packages/storybook-addon-designs/src/blocks.tsx | 2 -- 1 file changed, 2 deletions(-) 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); }, },