Skip to content

Commit 46dd46d

Browse files
author
Jakub Holak
committed
Backwords compatilibily fix
1 parent ef2af38 commit 46dd46d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/box/Box.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type BoxProps = {
2020
| "spacing06"
2121
| "spacing07"
2222
| "spacing08";
23-
spacing?:
23+
margin?:
2424
| "spacing01"
2525
| "spacing02"
2626
| "spacing03"
@@ -64,7 +64,6 @@ const StyledBox = styled(Container)<BoxProps>`
6464
`}
6565
6666
${({ margin }) =>
67-
// margin should be deleted ASAP after mergin Spacer
6867
margin &&
6968
css`
7069
margin-bottom: ${theme.spacing[margin]};

0 commit comments

Comments
 (0)