tr fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"name": "mosaic-react",
|
"name": "mosaic-react",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack-dev-server",
|
"dev": "webpack-dev-server --https",
|
||||||
"build:dev": "webpack --mode development --progress",
|
"build:dev": "webpack --mode development --progress",
|
||||||
"build:prod": "webpack --mode production --progress"
|
"build:prod": "webpack --mode production --progress"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export const hashAccountData = (data = [], oldData = [], hashMap = {}) => {
|
|||||||
}), {})
|
}), {})
|
||||||
|
|
||||||
const removed = oldData.reduce((acc, item) => {
|
const removed = oldData.reduce((acc, item) => {
|
||||||
if(!accountMap[item.label])
|
if(!accountMap[item.label] && hashMap[item.label])
|
||||||
return [...acc, {label: item.label}];
|
return [...acc, {label: item.label}];
|
||||||
return acc
|
return acc
|
||||||
}, [])
|
}, [])
|
||||||
|
|||||||
Reference in New Issue
Block a user