Skip to content

Commit 3463fed

Browse files
committed
fix user.js missing hues
1 parent 5aab12b commit 3463fed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export function getProfileColor(
22
str,
3-
{ hues = [10, 40, 60, 90, 120, 150, 180, 200, 220, 250, 280, 310, 340] }
3+
{ hues = [10, 40, 60, 90, 120, 150, 180, 200, 220, 250, 280, 310, 340] } = {}
44
) {
55
let hash = 0
66
for (let i = 0; i < str.length; i++) {

0 commit comments

Comments
 (0)