Skip to content

Commit 8cddb0b

Browse files
committed
fix: bad const declarations crashing build
1 parent c84998c commit 8cddb0b

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

web/src/contributions/explore.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,6 @@ const _ROLE_ABBREV = (r) => r
8585
.replace('Writing \u2013 ', 'W: ')
8686
.replace('Formal analysis', 'Formal anal.');
8787

88-
// ── Author node color — semantic group derived from majority CRediT roles ──
89-
//
90-
// Group → hue band [center°, halfSpread°]
91-
const _NODE_HUE = {
92-
leadership: [252, 32], // blue-violet → violet-purple (~220–284°)
93-
methods: [ 41, 22], // ochre → amber (~19–63°) (Methodology, Resources)
94-
data: [165, 28], // green → teal (~137–193°)
95-
analysis: [340, 22], // pink → magenta (~318–362°)
96-
};
97-
98-
// Derived from _ROLE_COLOR comment groups above.
99-
// Re-use ROLE_GROUP mapping from credit-helpers.js
100-
const _NODE_ROLE_GROUP = ROLE_GROUP;
101-
102-
// Re-use GROUP_HUE from credit-helpers.js
103-
const _NODE_HUE = GROUP_HUE;
104-
10588
// ── Utilities ─────────────────────────────────────────────────────────────────
10689

10790
// Delegate to imported hashStr

0 commit comments

Comments
 (0)