diff --git a/Client/package-lock.json b/Client/package-lock.json index 27f3e8c28..ff72ed199 100644 --- a/Client/package-lock.json +++ b/Client/package-lock.json @@ -1317,9 +1317,15 @@ } }, "node_modules/@mui/x-charts": { +<<<<<<< HEAD "version": "7.6.1", "resolved": "https://registry.npmjs.org/@mui/x-charts/-/x-charts-7.6.1.tgz", "integrity": "sha512-LuAVQX4lzhmsqk2NRdWCP+aQZ8kRwG7KOy8ulf8hR5NI5J1VsiOtH41J+qgV3uAC6hDMWL7fTgffrRDFTMci/g==", +======= + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/@mui/x-charts/-/x-charts-7.6.2.tgz", + "integrity": "sha512-oG22NRno1+HSLV/9jVLThnHAKN4g+MXOO6GqaQxN9LM0hjt1tgRsrNAlfcJndmj/dVwqFtynkFB5qWnTEBZs7Q==", +>>>>>>> 3f41db916efdd46069589e91f5886a4a01d11896 "dependencies": { "@babel/runtime": "^7.24.6", "@mui/base": "^5.0.0-beta.40", @@ -2235,9 +2241,15 @@ } }, "node_modules/caniuse-lite": { +<<<<<<< HEAD "version": "1.0.30001628", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001628.tgz", "integrity": "sha512-S3BnR4Kh26TBxbi5t5kpbcUlLJb9lhtDXISDPwOfI+JoC+ik0QksvkZtUVyikw3hjnkgkMPSJ8oIM9yMm9vflA==", +======= + "version": "1.0.30001629", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001629.tgz", + "integrity": "sha512-c3dl911slnQhmxUIT4HhYzT7wnBK/XYpGnYLOj4nJBaRiw52Ibe7YxlDaAeRECvA786zCuExhxIUJ2K7nHMrBw==", +>>>>>>> 3f41db916efdd46069589e91f5886a4a01d11896 "dev": true, "funding": [ { @@ -2607,9 +2619,15 @@ } }, "node_modules/electron-to-chromium": { +<<<<<<< HEAD "version": "1.4.790", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.790.tgz", "integrity": "sha512-eVGeQxpaBYbomDBa/Mehrs28MdvCXfJmEFzaMFsv8jH/MJDLIylJN81eTJ5kvx7B7p18OiPK0BkC06lydEy63A==", +======= + "version": "1.4.792", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.792.tgz", + "integrity": "sha512-rkg5/N3L+Y844JyfgPUyuKK0Hk0efo3JNxUDKvz3HgP6EmN4rNGhr2D8boLsfTV/hGo7ZGAL8djw+jlg99zQyA==", +>>>>>>> 3f41db916efdd46069589e91f5886a4a01d11896 "dev": true }, "node_modules/error-ex": { diff --git a/Client/src/Components/TextFields/Description/DescriptionTextField.jsx b/Client/src/Components/TextFields/Description/DescriptionTextField.jsx index 7f3ba908a..dd4011da9 100644 --- a/Client/src/Components/TextFields/Description/DescriptionTextField.jsx +++ b/Client/src/Components/TextFields/Description/DescriptionTextField.jsx @@ -7,11 +7,12 @@ import { useTheme } from "@mui/material"; /** * @component * @param {Object} props + * @param {function} props.onChange - The function to call when the text field changes (optional) * @param {string} props.hintText - The hint text displayed within the text field (required) * @param {boolean} props.hasError - A flag indicating if the text field has an error (required) * @returns {JSX.Element} - Renders the description text field component */ -const DescriptionTextField = ({ hintText, hasError }) => { +const DescriptionTextField = ({ onChange, hintText, hasError }) => { const theme = useTheme(); const fontLookup = { @@ -27,6 +28,7 @@ const DescriptionTextField = ({ hintText, hasError }) => { >