mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
Merge pull request #4549 from urbit/la/fix-stupid
This commit is contained in:
commit
46b1bd97b6
@ -131,7 +131,7 @@ const addNodes = (json, state) => {
|
||||
} else {
|
||||
const child = graph.get(index[0]);
|
||||
if (child) {
|
||||
graph = _remove(child.children, index.slice(1));
|
||||
child.children = _remove(child.children, index.slice(1));
|
||||
graph.set(index[0], child);
|
||||
}
|
||||
}
|
||||
@ -194,7 +194,7 @@ const addNodes = (json, state) => {
|
||||
node
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
state.graphs[resource] = graph;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user