handle save some data and send server correct & change component form & clean code & fix bugs

This commit is contained in:
Ehsan
2025-07-18 13:54:48 +03:30
parent 278602372d
commit 901bca6529
9 changed files with 235 additions and 108 deletions
-1
View File
@@ -8,7 +8,6 @@ import UploadFile from "@/app/component/uploadFile";
function AddDoctorPage() {
const [data, setData] = useState(defaultState);
const [image, setImage] = useState("");
console.log(data);
const resetData = () => {
setData(defaultState);