Apply suggestion to src/services/theme_data/theme_data.service.js

fix/aggregate-notification-settings
HJ 4 years ago
parent 40e3595ad3
commit 5af0949491

@ -132,7 +132,6 @@ export const topoSort = (
// The index thing is to make sorting stable on browsers
// where Array.sort() isn't stable
return output.map((data, index) => ({ data, index })).sort(({ data: a, index: ai }, { data: b, index: bi }) => {
console.log(a, b, ai, bi)
const depsA = getDeps(a, inheritance).length
const depsB = getDeps(b, inheritance).length

Loading…
Cancel
Save