Skip to content

Commit

Permalink
chore: adding a default prop
Browse files Browse the repository at this point in the history
per code review
  • Loading branch information
deborahgu committed Jan 13, 2025
1 parent 7933b13 commit 00db461
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ProgramRecord/ProgramRecordActions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,8 @@ ProgramRecordActions.propTypes = {
sharedRecordUUID: PropTypes.string,
};

ProgramRecordActions.defaultProps = {
sharedRecordUUID: '',
}

Check failure on line 294 in src/components/ProgramRecord/ProgramRecordActions.jsx

View workflow job for this annotation

GitHub Actions / tests

Missing semicolon

Check failure on line 294 in src/components/ProgramRecord/ProgramRecordActions.jsx

View workflow job for this annotation

GitHub Actions / tests

Missing semicolon

export default ProgramRecordActions;

0 comments on commit 00db461

Please sign in to comment.