Use already defined const instead of method call

This commit is contained in:
Matheus B
2024-01-16 19:34:16 -03:00
parent c50a82a60e
commit 6f09bc7dc7

View File

@@ -111,7 +111,7 @@ const drawCommits = (svg, commits, modifyGraph) => {
return commits[a].seq - commits[b].seq;
});
const isParallelCommits = getConfig().gitGraph.parallelCommits;
const isParallelCommits = gitGraphConfig.parallelCommits;
sortedKeys.forEach((key) => {
const commit = commits[key];