diff --git a/src/components/pages/Expense/ExpenseRecords/ExpenseRecords.js b/src/components/pages/Expense/ExpenseRecords/ExpenseRecords.js index fba0b48..88b4845 100644 --- a/src/components/pages/Expense/ExpenseRecords/ExpenseRecords.js +++ b/src/components/pages/Expense/ExpenseRecords/ExpenseRecords.js @@ -45,9 +45,11 @@ function ExpenseRecords() { }, [entry, lastEntry]); const handleBackClick = () => { - navigate("/"); + navigate("/expense-totalsuccessfully"); }; - + const handleBackHomeClick = () => { + navigate("/") + } const handleEditClick = () => { const idToEdit = entryId || (lastEntry ? lastEntry.id : null); @@ -94,7 +96,7 @@ function ExpenseRecords() {