Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus-87 committed Jan 30, 2024
1 parent ab254a6 commit e3f2866
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [Unreleased]

### Fixed

- Fixed typing

## [0.3.0](https://github.com/dbmdz/mirador-downloaddialog/releases/tag/0.3.0) - 2023-07-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/CanvasDownloadLinks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CanvasDownloadLinks.propTypes = {
getHeight: PropTypes.func.isRequired,
getWidth: PropTypes.func.isRequired,
}).isRequired,
label: PropTypes.oneOfType(PropTypes.number, PropTypes.string).isRequired,
label: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
sizes: PropTypes.arrayOf(
PropTypes.shape({
height: PropTypes.number.isRequired,
Expand Down

0 comments on commit e3f2866

Please sign in to comment.