diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 5e4de4e..6a9ee2d 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -24227,18 +24227,6 @@ "boolbase": "~1.0.0" } }, - "node_modules/svgo/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/swiper": { "version": "11.1.14", "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.1.14.tgz", @@ -24253,11 +24241,11 @@ "url": "http://opencollective.com/swiper" } ], + "license": "MIT", "engines": { "node": ">= 4.7.0" } }, - "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -24863,16 +24851,10 @@ } }, "node_modules/typescript": { - - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", - "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", diff --git a/frontend/src/pages/Home/Hom.js b/frontend/src/pages/Home/Hom.js index cfda047..ec7fe52 100644 --- a/frontend/src/pages/Home/Hom.js +++ b/frontend/src/pages/Home/Hom.js @@ -1,4 +1,4 @@ -import React, { useEffect , useState } from "react"; +import React, { useEffect, useState } from "react"; import { Link } from 'react-router-dom'; import "./Hom.css"; import Faqs from './Faqs'; @@ -16,8 +16,8 @@ export default function Hom() { }; }, []); - const [showScrollTop, setShowScrollTop] = useState(false); + const [, setShowScrollTop] = useState(false); useEffect(() => { const handleScroll = () => { if (window.scrollY > 120) { @@ -35,12 +35,12 @@ export default function Hom() { return (
- +
- +
diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 072a4b4..0000000 --- a/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "Enyanjyoti", - "lockfileVersion": 3, - "requires": true, - "packages": {} -}