mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: rename dashboard routes.
This commit is contained in:
@@ -13,7 +13,7 @@ import { compose } from 'utils';
|
||||
|
||||
import 'style/pages/Customers/PageForm.scss';
|
||||
|
||||
function Customer({
|
||||
function CustomerFormPage({
|
||||
// // #withDashboardActions
|
||||
// changePageTitle,
|
||||
|
||||
@@ -69,4 +69,4 @@ function Customer({
|
||||
);
|
||||
}
|
||||
|
||||
export default compose(withCustomersActions, withCurrenciesActions)(Customer);
|
||||
export default compose(withCustomersActions, withCurrenciesActions)(CustomerFormPage);
|
||||
@@ -71,8 +71,8 @@ function CustomersList({
|
||||
);
|
||||
|
||||
const handleEditCustomer = useCallback(
|
||||
(cusomter) => {
|
||||
history.push(`/customers/${cusomter.id}/edit`);
|
||||
(customer) => {
|
||||
history.push(`/customers/${customer.id}/edit`);
|
||||
},
|
||||
[history],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user