Skip to content

Commit

Permalink
refactor(Cluster): replace defaultProps property
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioprog committed Sep 30, 2024
1 parent 992033c commit 145073e
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 145073e

Please sign in to comment.