mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-17 05:00:12 +02:00
Use already defined const instead of method call
This commit is contained in:
@@ -111,7 +111,7 @@ const drawCommits = (svg, commits, modifyGraph) => {
|
|||||||
return commits[a].seq - commits[b].seq;
|
return commits[a].seq - commits[b].seq;
|
||||||
});
|
});
|
||||||
|
|
||||||
const isParallelCommits = getConfig().gitGraph.parallelCommits;
|
const isParallelCommits = gitGraphConfig.parallelCommits;
|
||||||
sortedKeys.forEach((key) => {
|
sortedKeys.forEach((key) => {
|
||||||
const commit = commits[key];
|
const commit = commits[key];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user