mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
Fix Customers
This commit is contained in:
@@ -55,9 +55,8 @@ const customersReducer = createReducer(initialState, {
|
||||
|
||||
[t.CUSTOMER_DELETE]: (state, action) => {
|
||||
const { id } = action.payload;
|
||||
|
||||
if (typeof state.items[id] !== 'undefined') {
|
||||
delete state.items[action.id];
|
||||
delete state.items[id];
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user