Skip to content

Commit

Permalink
Set Setting description prop to be either object or string.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmashuang committed Jun 6, 2022
1 parent 992d2a0 commit 76f8242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/onboarding-flow/privacy-settings/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Setting.propTypes = {
value: PropTypes.bool,
setValue: PropTypes.func,
title: PropTypes.string,
description: PropTypes.string,
description: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
};

0 comments on commit 76f8242

Please sign in to comment.