Skip to content

Commit 22f2bf7

Browse files
committedJan 12, 2022
feat(core): remove resize-observer-polyfill as it should be added if IE support is needed
1 parent a4b4dfa commit 22f2bf7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎packages/core/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"d3-scale-chromatic": "^2.0.0",
3030
"d3-shape": "^1.3.5",
3131
"d3-time-format": "^3.0.0",
32-
"lodash": "^4.17.21",
33-
"resize-observer-polyfill": "^1.5.1"
32+
"lodash": "^4.17.21"
3433
},
3534
"devDependencies": {
3635
"@nivo/tooltip": "0.78.0",

‎packages/core/src/hooks/useMeasure.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useRef, useState, useEffect } from 'react'
2-
import ResizeObserver from 'resize-observer-polyfill'
32

43
export const useMeasure = () => {
54
const measureRef = useRef(null)

0 commit comments

Comments
 (0)
Please sign in to comment.