Skip to content

Commit dfb0885

Browse files
linting
1 parent d3a2740 commit dfb0885

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

src/components/Graphs/graphUtils.ts

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,22 @@ export const resolveProviderType = (configName: string, providerConfigsList: Pro
2727

2828
export const generateColorMap = (items: NodeData[], colorBy: string): Record<string, string> => {
2929
const colors = [
30-
"#FFC933", // MANGO 4
31-
"#FF8AF0", // PINK 4
32-
"#FEADC8", // RASPBERRY 4
33-
"#2CE0BF", // TEAL 4
34-
"#FF8CB2", // RED 4
35-
"#B894FF", // INDIGO 4
36-
"#049F9A", // TEAL 6
37-
"#FA4F96", // RASPBERRY 6
38-
"#F31DED", // PINK 6
39-
"#7858FF", // INDIGO 6
40-
"#07838F", // TEAL 7
41-
"#DF1278", // RASBERRY 7
42-
"#510080", // PINK 10
43-
"#5D36FF", // INDIGO 7
30+
'#FFC933', // MANGO 4
31+
'#FF8AF0', // PINK 4
32+
'#FEADC8', // RASPBERRY 4
33+
'#2CE0BF', // TEAL 4
34+
'#FF8CB2', // RED 4
35+
'#B894FF', // INDIGO 4
36+
'#049F9A', // TEAL 6
37+
'#FA4F96', // RASPBERRY 6
38+
'#F31DED', // PINK 6
39+
'#7858FF', // INDIGO 6
40+
'#07838F', // TEAL 7
41+
'#DF1278', // RASBERRY 7
42+
'#510080', // PINK 10
43+
'#5D36FF', // INDIGO 7
4444
];
4545

46-
4746
const keys = (() => {
4847
if (colorBy === 'source') return Array.from(new Set(items.map((i) => i.providerType).filter(Boolean)));
4948
if (colorBy === 'flux') return Array.from(new Set(items.map((i) => i.fluxName ?? 'default')));

0 commit comments

Comments
 (0)