Skip to content

Commit

Permalink
remove unnecessary default props
Browse files Browse the repository at this point in the history
  • Loading branch information
arosiclair committed Sep 7, 2022
1 parent 75f977f commit 2380853
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/pages/ReportSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ const propTypes = {
}).isRequired,
};

const defaultProps = {
report: {
reportID: 0,
reportName: '',
policyID: '',
notificationPreference: '',
visibility: '',
},
};

class ReportSettingsPage extends Component {
constructor(props) {
super(props);
Expand Down Expand Up @@ -284,7 +274,6 @@ class ReportSettingsPage extends Component {
}

ReportSettingsPage.propTypes = propTypes;
ReportSettingsPage.defaultProps = defaultProps;
ReportSettingsPage.displayName = 'ReportSettingsPage';

export default compose(
Expand Down

0 comments on commit 2380853

Please sign in to comment.