Skip to content

Commit

Permalink
Merge pull request #1149 from securityscorecard/silvioprog@UXD-1634
Browse files Browse the repository at this point in the history
refactor(Cluster): replace defaultProps property
  • Loading branch information
silvioprog authored Oct 1, 2024
2 parents c625ced + 145073e commit 9181ca8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/layout/Cluster/Cluster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const ClusterParent = styled.div<ClusterParentProps>(

const Cluster = ({
children,
gap,
gap = SpaceSizes.none,
align,
justify,
parentEl,
Expand All @@ -96,8 +96,4 @@ const Cluster = ({
</ClusterWrapper>
);

Cluster.defaultProps = {
gap: SpaceSizes.none,
};

export default Cluster;

0 comments on commit 9181ca8

Please sign in to comment.