Skip to content

Commit

Permalink
Fix propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Feb 7, 2025
1 parent a0fcda2 commit 9e6070d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rdmo/core/assets/js/components/UploadDropZone.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const UploadDropZone = ({ acceptedTypes, onImportFile }) => {
}

UploadDropZone.propTypes = {
acceptedTypes: PropTypes.arrayOf(PropTypes.string),
acceptedTypes: PropTypes.object,
onImportFile: PropTypes.func.isRequired,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ProjectImport = ({ allowedTypes, handleImport, importUrls}) => {
}

ProjectImport.propTypes = {
allowedTypes: PropTypes.arrayOf(PropTypes.string),
allowedTypes: PropTypes.object,
handleImport: PropTypes.func.isRequired,
importUrls: PropTypes.arrayOf(PropTypes.object).isRequired
}
Expand Down

0 comments on commit 9e6070d

Please sign in to comment.