add validation and basic api && change design sidebar
This commit is contained in:
@@ -42,6 +42,7 @@ function UploadFile({ image, setImage }) {
|
||||
<input
|
||||
type="file"
|
||||
ref={fileRef}
|
||||
accept="image/*"
|
||||
className="contents"
|
||||
onChange={handleChange}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user