Skip to content

Commit

Permalink
Fix component's prop definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyzhen committed Jun 2, 2024
1 parent ba479bf commit e4e4bbd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,12 @@ function PathwayNetworkDescription({ tissue, clusterName }) {
}

PathwayNetworkDescription.propTypes = {
tissue: PropTypes.string.isRequired,
tissue: PropTypes.string,
clusterName: PropTypes.string,
};

PathwayNetworkDescription.defaultProps = {
tissue: null,
clusterName: null,
};

Expand Down

0 comments on commit e4e4bbd

Please sign in to comment.