From cc43de6ebf55683ecec5096123c7c7ebd52e3dd4 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 2 Oct 2020 16:46:27 +0100 Subject: [PATCH] add comment Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/Avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avatar.js b/src/Avatar.js index 8701ff0599..1c1182b98d 100644 --- a/src/Avatar.js +++ b/src/Avatar.js @@ -82,7 +82,7 @@ function urlForColor(color) { const colorToDataURLCache = new Map(); export function defaultAvatarUrlForString(s) { - if (!s) return ""; + if (!s) return ""; // XXX: should never happen but empirically does by evidence of a rageshake const defaultColors = ['#0DBD8B', '#368bd6', '#ac3ba8']; let total = 0; for (let i = 0; i < s.length; ++i) {