Skip to content

Commit

Permalink
Formatting change to debug release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jan 7, 2024
1 parent a1b85df commit 0c28573
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 0c28573

Please sign in to comment.