Skip to content

Commit

Permalink
fix(Editor): The returnUrl prop is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
Merkur39 committed Dec 6, 2024
1 parent f072efd commit cbacec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/notes/editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,5 @@ Editor.propTypes = {
noteId: PropTypes.string.isRequired,
readOnly: PropTypes.bool.isRequired,
userName: PropTypes.string,
returnUrl: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]).isRequired
returnUrl: PropTypes.oneOfType([PropTypes.string, PropTypes.bool])
}

0 comments on commit cbacec0

Please sign in to comment.