Update category creation page

This commit is contained in:
Hazem Krimi
2021-05-26 23:45:18 +01:00
parent 0d9b4a51b1
commit e80c21cc29
+2
View File
@@ -167,6 +167,8 @@ const AddCategory = () => {
value={form.values.description} value={form.values.description}
onChange={form.handleChange} onChange={form.handleChange}
onBlur={form.handleBlur} onBlur={form.handleBlur}
error={form.touched.description && !!form.errors.description}
errorMessage={form.errors.description}
/> />
<Box marginTop='0.5rem' display='flex' justifyContent='flex-end'> <Box marginTop='0.5rem' display='flex' justifyContent='flex-end'>
<Button <Button