Skip to content

Commit 28faab7

Browse files
committed
worked on readiability of code and psuedocode, to help onboarding of developers
1 parent ab28767 commit 28faab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/legend.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export default function LegendKey(props: snapHierarchy) {
1414

1515
// we are sifting through array of displayNames and sorting them into key value pairs in an object, based on the branch they are on:
1616
// { '.0': [1.0, 2.0, 3.0, 4.0], '.1': [1.1, 2.1, 3.1,...], '.2': [....]}
17-
// then we create an array, with each index being strings showing the range of the branch,
18-
// we then take that and place it in an array, with each element being a range of the values in that branch -> ['1.0-4.0', '1.1-6.1',...]
17+
// then we create an array, with each index being strings showing the range of the branch, see below:
18+
// ['1.0-4.0', '1.1-6.1',...]
1919
function colorRanger(snapshotIdsArray) {
2020
const resultRangeColor = {};
2121

0 commit comments

Comments
 (0)