mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
fix(qr-scanner): Removed loadable component
This commit is contained in:
Generated
-10
@@ -2055,16 +2055,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"@loadable/component": {
|
||||
"version": "5.13.1",
|
||||
"resolved": "https://registry.npmjs.org/@loadable/component/-/component-5.13.1.tgz",
|
||||
"integrity": "sha512-qTNfTv5bVfb9eTKNUOMzPweRnxzNaxCmLZEsFEMn+kxpd86iXae+IpibXFJlnb052Q4fVkcWM2tvmWLc/+HzLg==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.7.7",
|
||||
"hoist-non-react-statics": "^3.3.1",
|
||||
"react-is": "^16.12.0"
|
||||
}
|
||||
},
|
||||
"@mdx-js/mdx": {
|
||||
"version": "1.6.6",
|
||||
"resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.6.tgz",
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import React, { Component } from "react"
|
||||
import loadable from "@loadable/component"
|
||||
import PropTypes from "prop-types"
|
||||
import "./qr-scanner.css"
|
||||
const QrReader = loadable(() => import("react-qr-reader"))
|
||||
import QrReader from "react-qr-reader"
|
||||
|
||||
let _this
|
||||
class QScanner extends Component {
|
||||
|
||||
Reference in New Issue
Block a user