add validation and basic api && change design sidebar

This commit is contained in:
ehsanahmadi456
2025-04-01 15:38:07 +03:30
parent b09957f97c
commit 13a9de2438
8 changed files with 41 additions and 12 deletions
+1
View File
@@ -42,6 +42,7 @@ function UploadFile({ image, setImage }) {
<input
type="file"
ref={fileRef}
accept="image/*"
className="contents"
onChange={handleChange}
/>