Skip to content

Commit

Permalink
upgrade react-resize-detector
Browse files Browse the repository at this point in the history
  • Loading branch information
barbalex committed Jun 14, 2024
1 parent f98a585 commit 9c2270a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"react-leaflet": "4.2.1",
"react-linkify": "1.0.0-alpha",
"react-markdown-editor-lite": "1.3.4",
"react-resize-detector": "10.0.1",
"react-resize-detector": "11.0.1",
"react-router-dom": "6.23.1",
"react-select": "5.8.0",
"react-split-pane": "0.1.92",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projekte/Karte/OwnControls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Container = styled.div`

const OwnControls = ({ setControlHeight, mapRef }) => {
const onResize = useCallback(
(width, height) => {
({ width, height }) => {
//console.log('height:', height)
setControlHeight(Math.round(height ?? 167))
},
Expand Down

0 comments on commit 9c2270a

Please sign in to comment.