mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Fix add category
This commit is contained in:
@@ -157,7 +157,10 @@ const AddCategory = () => {
|
|||||||
form.setFieldValue('imageSource', filesource);
|
form.setFieldValue('imageSource', filesource);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
error={!!form.errors.imageName || !!form.errors.imageSource}
|
error={
|
||||||
|
form.touched.imageName &&
|
||||||
|
(!!form.errors.imageName || !!form.errors.imageSource)
|
||||||
|
}
|
||||||
errorMessage={form.errors.imageName}
|
errorMessage={form.errors.imageName}
|
||||||
/>
|
/>
|
||||||
<TextArea
|
<TextArea
|
||||||
|
|||||||
Reference in New Issue
Block a user