Skip to content

Commit

Permalink
size is now provided by a hook, stop requiring the prop for `Window…
Browse files Browse the repository at this point in the history
…CanvasNavigationControls`
  • Loading branch information
cbeer authored Dec 20, 2024
1 parent 0215781 commit f221570
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 f221570

Please sign in to comment.