Skip to content

Commit 16aa735

Browse files
format
1 parent a967080 commit 16aa735

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/auth.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ class AuthService {
130130
"#4CAF50",
131131
"#FF9800",
132132
];
133-
ctx.fillStyle = colors[name.split('').reduce((acc, char) => acc + char.charCodeAt(0), 0) % colors.length];
133+
ctx.fillStyle =
134+
colors[
135+
name.split("").reduce((acc, char) => acc + char.charCodeAt(0), 0) %
136+
colors.length
137+
];
134138
ctx.fillRect(0, 0, 100, 100);
135139

136140
ctx.fillStyle = "#ffffff";

0 commit comments

Comments
 (0)