fix: older browser suppport (#2228)
* fix: Object.fromEntries polyfill * fix: update polyfills * fix: update polyfills
This commit is contained in:
parent
cd50d576d4
commit
5dfe44dad4
@ -87,6 +87,7 @@
|
||||
"multihashes": "^4.0.2",
|
||||
"node-vibrant": "^3.1.5",
|
||||
"polished": "^3.3.2",
|
||||
"polyfill-object.fromentries": "^1.0.1",
|
||||
"prettier": "^2.2.1",
|
||||
"qs": "^6.9.4",
|
||||
"react": "^17.0.1",
|
||||
|
@ -1,5 +1,6 @@
|
||||
import 'inter-ui'
|
||||
import '@reach/dialog/styles.css'
|
||||
import 'polyfills'
|
||||
import { createWeb3ReactRoot, Web3ReactProvider } from '@web3-react/core'
|
||||
import { StrictMode } from 'react'
|
||||
import { isMobile } from 'react-device-detect'
|
||||
|
1
src/polyfills.ts
Normal file
1
src/polyfills.ts
Normal file
@ -0,0 +1 @@
|
||||
import 'polyfill-object.fromentries'
|
@ -14776,6 +14776,11 @@ polished@^3.3.2:
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.12.5"
|
||||
|
||||
polyfill-object.fromentries@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.nlark.com/polyfill-object.fromentries/download/polyfill-object.fromentries-1.0.1.tgz#1a5d89e3777684a852c9b6a6a1d2c3f9c262fc86"
|
||||
integrity sha1-Gl2J43d2hKhSybamodLD+cJi/IY=
|
||||
|
||||
portfinder@^1.0.26:
|
||||
version "1.0.28"
|
||||
resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778"
|
||||
|
Loading…
Reference in New Issue
Block a user