removed console and comment
This commit is contained in:
parent
25f4f1e7a7
commit
aca96c60ae
@ -19,7 +19,6 @@ const ExpenseAnalysis = () => {
|
||||
const { watch } = methods;
|
||||
|
||||
const [startDate, endDate] = watch(["startDate", "endDate"]);
|
||||
console.log(startDate,endDate)
|
||||
const { data, isLoading, isError, error, isFetching } = useExpenseAnalysis(
|
||||
projectId,
|
||||
localToUtc(startDate),
|
||||
|
@ -189,9 +189,7 @@ const ManageExpense = ({ closeModal, expenseToEdit = null }) => {
|
||||
const editPayload = { ...payload, id: data.id };
|
||||
ExpenseUpdate({ id: data.id, payload: editPayload });
|
||||
} else {
|
||||
console.log(fromdata)
|
||||
console.log(payload)
|
||||
// CreateExpense(payload);
|
||||
CreateExpense(payload);
|
||||
}
|
||||
};
|
||||
const ExpenseTypeId = watch("expensesTypeId");
|
||||
|
Loading…
x
Reference in New Issue
Block a user