Skip to content

Commit

Permalink
Merge pull request #225 from storybookjs/shilman/trigger-release
Browse files Browse the repository at this point in the history
Formatting change to debug release flow
  • Loading branch information
shilman committed Jan 7, 2024
2 parents bf73227 + 0c28573 commit 207b28d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/storybook-addon-designs/src/blocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ export const DocBlockBase: FC<BlocksCommonProps> = ({
title: collapsed ? "Show" : "Hide",
onClick: () => {
const newValue = !collapsed;
if (onCollapsedChange) {
onCollapsedChange(newValue, collapsed);
}
if (onCollapsedChange) onCollapsedChange(newValue, collapsed);
setCollapsed(newValue);
},
},
Expand Down

0 comments on commit 207b28d

Please sign in to comment.