remove loadingBar, fix parser dependency (#7394)
This commit is contained in:
parent
a7659c368b
commit
0eab08e3b4
4 changed files with 2 additions and 31 deletions
|
@ -60,7 +60,6 @@
|
|||
"proxy-polyfill": "0.1.6",
|
||||
"re-reselect": "^4.0.0",
|
||||
"react-datetime-picker": "^3.2.1",
|
||||
"react-top-loading-bar": "^2.0.1",
|
||||
"remove-markdown": "^0.3.0",
|
||||
"rss": "^1.2.2",
|
||||
"source-map-explorer": "^2.5.2",
|
||||
|
@ -162,6 +161,7 @@
|
|||
"node-abi": "^2.5.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"node-libs-browser": "^2.1.0",
|
||||
"node-html-parser": "^5.1.0",
|
||||
"node-loader": "^0.6.0",
|
||||
"node-wget": "^0.4.3",
|
||||
"nodemon": "^1.19.1",
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
import { connect } from 'react-redux';
|
||||
import LoadingBarOneOff from './view';
|
||||
|
||||
const select = (state, props) => ({});
|
||||
|
||||
export default connect(select)(LoadingBarOneOff);
|
|
@ -1,18 +0,0 @@
|
|||
// @flow
|
||||
import * as React from 'react';
|
||||
import { LOADING_BAR_COLOR } from 'config';
|
||||
import LoadingBar from 'react-top-loading-bar';
|
||||
|
||||
function LoadingBarOneOff(props: any) {
|
||||
const loadingBarRef = React.useRef(null);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (loadingBarRef.current) {
|
||||
loadingBarRef.current.continuousStart();
|
||||
}
|
||||
}, []);
|
||||
|
||||
return <LoadingBar color={LOADING_BAR_COLOR} ref={loadingBarRef} />;
|
||||
}
|
||||
|
||||
export default LoadingBarOneOff;
|
|
@ -1312,7 +1312,7 @@
|
|||
dependencies:
|
||||
unist-util-visit "^1.3.0"
|
||||
|
||||
"@meetfranz/electron-cookies@^2.0.0":
|
||||
"@meetfranz/electron-cookies@^3.0.2":
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@meetfranz/electron-cookies/-/electron-cookies-3.0.2.tgz#762b6bf8d90b339ad0b89234facc84ee9816d1c4"
|
||||
integrity sha512-8HuCIY6yfcHApmmCrwLHqKhDeiag65/3CcubV5AI9Cf39fc7WgaKR6KWWjSJemXNwwaK/nLFUuiArmXO+LBveQ==
|
||||
|
@ -10094,11 +10094,6 @@ react-time-picker@^4.2.0:
|
|||
react-fit "^1.0.3"
|
||||
update-input-width "^1.1.1"
|
||||
|
||||
react-top-loading-bar@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/react-top-loading-bar/-/react-top-loading-bar-2.0.1.tgz#c8805ad9c1068766fdd3cadd414e67cfdf1878e9"
|
||||
integrity sha512-wkRlK9Rte4TU817GDcjlsCoDOxrrnvsNvK609FKyio0EIrmmqjQDz5DB8HbN88CHNZBy5Lh/OBALc03ioWFPuQ==
|
||||
|
||||
react@^16.8.2:
|
||||
version "16.14.0"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
|
||||
|
|
Loading…
Reference in a new issue