CFE-16 delete description validation

This commit is contained in:
2023-11-19 14:23:53 +03:30
parent bfdf586b20
commit f2cdf2eb9d
2 changed files with 8 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ import {useState} from "react";
import {Stack} from "@mui/material";
function CallActions({tab}) {
const [description, setDescription] = useState('')
const [description, setDescription] = useState()
const requestServer = useRequest({auth: true});
const {closeAnswerTab} = useAnswers();
@@ -20,9 +20,6 @@ function CallActions({tab}) {
subcategory_id,
description
},
success: {
notification: {show: true},
},
})
.then(() => {
closeAnswerTab(tab.id);