Skip to content

Commit

Permalink
Fix propTypes in OptionRowLHNData
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Nov 7, 2023
1 parent 201ea6d commit 22114be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LHNOptionsList/OptionRowLHNData.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const propTypes = {
isFocused: PropTypes.bool,

/** List of users' personal details */
personalDetails: PropTypes.objectOf(participantPropTypes),
personalDetails: PropTypes.arrayOf(participantPropTypes),

/** The preferred language for the app */
preferredLocale: PropTypes.string,
Expand Down Expand Up @@ -128,4 +128,4 @@ OptionRowLHNData.displayName = 'OptionRowLHNData';
* Thats also why the React.memo is used on the outer component here, as we just
* use it to prevent re-renders from parent re-renders.
*/
export default React.memo(OptionRowLHNData);
export default React.memo(OptionRowLHNData);

0 comments on commit 22114be

Please sign in to comment.