diff --git a/package-lock.json b/package-lock.json index 3270e11..9bb988d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17333,6 +17333,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/react-scripts/-/react-scripts-5.0.1.tgz", "integrity": "sha512-8VAmEm/ZAwQzJ+GOMLbBsTdDKOpuZh7RPs0UymvBR2vRk4iZWCskjbFnxqjrzoIvlNNRZ3QJFx6/qDSi6zSnaQ==", + "license": "MIT", "dependencies": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", diff --git a/package.json b/package.json index 7e48787..0bee69d 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,9 @@ "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "babel-preset-react-app": "^10.0.1", + "html5-qrcode": "^2.3.8", "tailwindcss": "^3.4.13" + } -} +} \ No newline at end of file diff --git a/src/Pages/Feedback.js b/src/Pages/Feedback.js deleted file mode 100644 index 39fa454..0000000 --- a/src/Pages/Feedback.js +++ /dev/null @@ -1,159 +0,0 @@ -import React, { useState } from 'react'; - -const FeedbackPage = () => { - const [formData, setFormData] = useState({ - name: '', - email: '', - feedback: '', - rating: 0, - }); - const [hoverRating, setHoverRating] = useState(0); - - const handleInputChange = (e) => { - const { name, value } = e.target; - setFormData({ ...formData, [name]: value }); - }; - - const handleRating = (rate) => { - setFormData({ ...formData, rating: rate }); - }; - - const handleSubmit = (e) => { - e.preventDefault(); - console.log('Feedback Submitted:', formData); - // Clear the form after submission - setFormData({ name: '', email: '', feedback: '', rating: 0 }); - setHoverRating(0); - }; - - return ( -
-

Feedback Form

-
-
- - -
- -
- - -
- -
- -