Skip to content

Commit

Permalink
Merge pull request #4069 from ProjectMirador/cbeer-patch-2
Browse files Browse the repository at this point in the history
`size` is now provided by a hook, stop requiring the prop for `WindowCanvasNavigationControls`
  • Loading branch information
marlo-longley authored Dec 20, 2024
2 parents 0215781 + f221570 commit 8836ff8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/WindowCanvasNavigationControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const WindowCanvasNavigationControls = forwardRef(({

WindowCanvasNavigationControls.propTypes = {
showZoomControls: PropTypes.bool,
size: PropTypes.shape({ width: PropTypes.number }).isRequired,
visible: PropTypes.bool,
windowId: PropTypes.string.isRequired,
zoomToWorld: PropTypes.func.isRequired,
Expand Down

0 comments on commit 8836ff8

Please sign in to comment.