Skip to content

Commit

Permalink
fix: update handleOnClick prop type to PropTypes.any
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] committed Sep 25, 2024
1 parent 785893f commit 5fa43ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/components/multichain/ramps-card/ramps-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ export const RampsCard = ({ variant, handleOnClick }) => {

RampsCard.propTypes = {
variant: PropTypes.oneOf(Object.values(RAMPS_CARD_VARIANT_TYPES)),
handleOnClick: PropTypes.oneOfType([PropTypes.func, PropTypes.undefined]),
handleOnClick: PropTypes.oneOfType([PropTypes.func, PropTypes.any]),
};

0 comments on commit 5fa43ac

Please sign in to comment.