Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix: prevent duplicate pages (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilmx authored and yuzl committed May 7, 2019
1 parent 052bf24 commit 560d3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/add-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const StyledIcon = styled(Plus)`
`;

export const AddButton: React.SFC<AddButtonProps> = props => (
<StyledSpace size={props.margin ? SpaceSize.XS : 0} {...props}>
<StyledSpace size={props.margin ? SpaceSize.XS : 0}>
<StyledAddButton onClick={props.onClick} title={props.title} disabled={props.disabled}>
<StyledIcon size={IconSize.XS} color={Color.Grey50} />
<Copy textColor={Color.Grey50}>{props.children}</Copy>
Expand Down

1 comment on commit 560d3e5

@marionebl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.