Skip to content

Commit

Permalink
fix: fixing incorrectly added expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
sungik-choi committed Dec 13, 2024
1 parent f33b71b commit d424844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const LegacyStack = forwardRef<HTMLElement, LegacyStackProps>(
...(element.props ?? {}),
direction,
marginBefore:
((element.props as LegacyStackItemProps)?.marginBefore ?? 0) +
(element.props as LegacyStackItemProps)?.marginBefore ??
(index > firstValidElementIdx.current ? spacing : 0),
} as LegacyStackItemProps)
})}
Expand Down

0 comments on commit d424844

Please sign in to comment.