CFE-16 delete description validation
This commit is contained in:
@@ -49,7 +49,13 @@ export const AnswersProvider = ({children}) => {
|
||||
categoryLists: [],
|
||||
subCategoryLists: [],
|
||||
});
|
||||
const [state, dispatch] = useReducer(reducer, []);
|
||||
const [state, dispatch] = useReducer(reducer, [{
|
||||
id: 1,
|
||||
phone_number: '09134849737',
|
||||
date: new Date(),
|
||||
active: true,
|
||||
active_category_id: 1,
|
||||
}]);
|
||||
|
||||
useEffect(() => {
|
||||
requestServer(GET_CATEGORY, "get")
|
||||
|
||||
Reference in New Issue
Block a user