chore: remove inert polyfill

Browsers seem to support it well enough outside of IE11
This commit is contained in:
Corbin Crutchley
2023-08-18 07:39:04 -07:00
parent 324cc9dcc4
commit 9093bddbb7
3 changed files with 2 additions and 11 deletions

8
package-lock.json generated
View File

@@ -14,8 +14,7 @@
"medium-zoom": "^1.0.8",
"preact": "^10.17.0",
"react-aria": "^3.27.0",
"react-stately": "^3.25.0",
"wicg-inert": "^3.1.2"
"react-stately": "^3.25.0"
},
"devDependencies": {
"@astrojs/image": "^0.17.3",
@@ -28085,11 +28084,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/wicg-inert": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/wicg-inert/-/wicg-inert-3.1.2.tgz",
"integrity": "sha512-Ba9tGNYxXwaqKEi9sJJvPMKuo063umUPsHN0JJsjrs2j8KDSzkWLMZGZ+MH1Jf1Fq4OWZ5HsESJID6nRza2ang=="
},
"node_modules/wide-align": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",

View File

@@ -132,8 +132,7 @@
"medium-zoom": "^1.0.8",
"preact": "^10.17.0",
"react-aria": "^3.27.0",
"react-stately": "^3.25.0",
"wicg-inert": "^3.1.2"
"react-stately": "^3.25.0"
},
"overrides": {
"react": "npm:@preact/compat@latest",

View File

@@ -1,5 +1,3 @@
import "wicg-inert";
import {
useCallback,
useEffect,