Skip to content

Commit

Permalink
Avoid invalid prop types warnings during development at user settings
Browse files Browse the repository at this point in the history
Use the correct types for `deltaReportsVersion` and
`detailsExportFileName`.
  • Loading branch information
bjoernricks committed May 8, 2024
1 parent 21853b6 commit eb96599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/pages/usersettings/usersettingspage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,8 @@ UserSettings.propTypes = {
defaultSnmpCredential: PropTypes.object,
defaultSshCredential: PropTypes.object,
defaultTarget: PropTypes.object,
deltaReportsVersion: PropTypes.string,
detailsExportFileName: PropTypes.string,
deltaReportsVersion: PropTypes.numberOrNumberString,
detailsExportFileName: PropTypes.object,
dfnCertFilter: PropTypes.object,
dynamicSeverity: PropTypes.object,
filters: PropTypes.array,
Expand Down

0 comments on commit eb96599

Please sign in to comment.