change function of fliter sort, modal and locate set new data and change it and update

This commit is contained in:
Ehsan
2025-09-12 09:39:48 +03:30
parent d04aa8568d
commit dbef29b9d9
18 changed files with 371 additions and 235 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import { FormControlLabel, Radio, RadioGroup } from "@mui/material";
function Radios({ group, value, changeData, name }) {
function Radios({ group, value, updateData, name }) {
return (
<RadioGroup
value={value}
className="radio-mui"
onChange={(e) => changeData(e.target.value, name, false, name)}
onChange={(e) => updateData(name, e.target.value)}
sx={{
"& .MuiFormControlLabel-root": {
marginRight: "0 !important",