Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
Errors were mostly due to incorrect proptyping
  • Loading branch information
Kevin Seestrand committed Mar 9, 2022
1 parent f8ac27c commit 8c35776
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AvailabilityViewResourceInfo.propTypes = {
isFavorite: PropTypes.bool.isRequired,
isHighlighted: PropTypes.bool,
name: PropTypes.string.isRequired,
peopleCapacity: PropTypes.number.isRequired,
peopleCapacity: PropTypes.number,
};
export function AvailabilityViewResourceInfo(props) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Link from './Link';
Reservation.propTypes = {
begin: PropTypes.string.isRequired,
end: PropTypes.string.isRequired,
visualBegin: PropTypes.object,
visualEnd: PropTypes.object,
visualBegin: PropTypes.string,
visualEnd: PropTypes.string,
eventSubject: PropTypes.string,
id: PropTypes.number.isRequired,
numberOfParticipants: PropTypes.number,
Expand Down

0 comments on commit 8c35776

Please sign in to comment.