Skip to content

Commit

Permalink
FIX defaultProp "room" defined for isRequired propType
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianAppDev committed May 13, 2024
1 parent bb31c61 commit b3c0ad4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/javascript/components/rooms/room/forms/ShareRoomForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ export default function ShareRoomForm({ room }) {
);
}

ShareRoomForm.defaultProps = {
room: PropTypes.shape({
last_session: '',
}),
};

ShareRoomForm.propTypes = {
room: PropTypes.shape({
id: PropTypes.string.isRequired,
Expand Down

0 comments on commit b3c0ad4

Please sign in to comment.