Removeing unused package (#842)

This commit is contained in:
darth-coder00 2021-10-18 14:42:13 +05:30 committed by GitHub
parent 4c8df43b4e
commit ce568d6aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 29 deletions

View File

@ -17954,17 +17954,6 @@
"prop-types": "^15.6.2"
}
},
"react-tutorial": {
"version": "https://github.com/deuex-solutions/react-tutorial/tarball/master",
"integrity": "sha512-zuCdUOXiUstfSE1cZq4+yk8/jpkjKUholNRd2bhw55SxoF/32yNUtU9JbiLxvkCUcdiiggZJwuW7Evpljmu0AQ==",
"requires": {
"classnames": "^2.2.6",
"lodash": "^4.17.15",
"prop-types": "^15.7.2",
"scroll-smooth": "^1.1.0",
"scrollparent": "^2.0.1"
}
},
"reactjs-localstorage": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/reactjs-localstorage/-/reactjs-localstorage-1.0.1.tgz",
@ -18967,16 +18956,6 @@
"compute-scroll-into-view": "^1.0.17"
}
},
"scroll-smooth": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/scroll-smooth/-/scroll-smooth-1.1.0.tgz",
"integrity": "sha512-68OUOXKN/ykM/Dbp4Lhza3O9QQUuW/c01WTsZzDOUyVgb1I5QjT/awOHCCbuYTSV1QnExUQ9w+KcxmVxlXIiAg=="
},
"scrollparent": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/scrollparent/-/scrollparent-2.0.1.tgz",
"integrity": "sha1-cV1bnMV3YPsivczDvvtb/gaxoxc="
},
"select-hose": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",

View File

@ -81,8 +81,7 @@
"stream-http": "^3.2.0",
"styled-components": "^5.2.3",
"tailwindcss": "^2.1.4",
"to-arraybuffer": "^1.0.1",
"react-tutorial": "https://github.com/deuex-solutions/react-tutorial/tarball/master"
"to-arraybuffer": "^1.0.1"
},
"scripts": {
"start": "NODE_ENV=development BABEL_ENV=development webpack serve --config ./webpack.config.dev.js --env development",

View File

@ -1,11 +1,11 @@
import { AxiosResponse } from 'axios';
import { observer } from 'mobx-react';
import React, { useEffect, useState } from 'react';
import ReactTutorial from 'react-tutorial';
// import ReactTutorial from 'react-tutorial';
import { searchData } from '../../axiosAPIs/miscAPI';
import { PAGE_SIZE } from '../../constants/constants';
import { SearchIndex } from '../../enums/search.enum';
import { useTour } from '../../hooks/useTour';
// import { useTour } from '../../hooks/useTour';
type Steps = {
content: string;
@ -73,8 +73,8 @@ const getSteps = (value: string) => {
};
const Tour = () => {
const { isTourOpen, handleIsTourOpen } = useTour();
const [steps, setSteps] = useState<Steps[]>([]);
// const { isTourOpen, handleIsTourOpen } = useTour();
const [, setSteps] = useState<Steps[]>([]);
useEffect(() => {
searchData('', 1, PAGE_SIZE, '', '', '', SearchIndex.TABLE).then(
@ -87,7 +87,7 @@ const Tour = () => {
return (
<div>
{isTourOpen ? (
{/* {isTourOpen ? (
<ReactTutorial
disableKeyboardNavigation
showNumber
@ -98,7 +98,7 @@ const Tour = () => {
steps={steps}
onRequestClose={() => handleIsTourOpen(false)}
/>
) : null}
) : null} */}
</div>
);
};