Skip to content

Commit

Permalink
feat(core): remove resize-observer-polyfill as it should be added if …
Browse files Browse the repository at this point in the history
…IE support is needed
  • Loading branch information
plouc committed Jan 12, 2022
1 parent a4b4dfa commit 22f2bf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions packages/core/package.json
Expand Up @@ -29,8 +29,7 @@
"d3-scale-chromatic": "^2.0.0",
"d3-shape": "^1.3.5",
"d3-time-format": "^3.0.0",
"lodash": "^4.17.21",
"resize-observer-polyfill": "^1.5.1"
"lodash": "^4.17.21"
},
"devDependencies": {
"@nivo/tooltip": "0.78.0",
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/hooks/useMeasure.js
@@ -1,5 +1,4 @@
import { useRef, useState, useEffect } from 'react'
import ResizeObserver from 'resize-observer-polyfill'

export const useMeasure = () => {
const measureRef = useRef(null)
Expand Down

0 comments on commit 22f2bf7

Please sign in to comment.