Change conversation color assert to warning
This commit is contained in:
parent
669005ace7
commit
c0ab1dff11
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ export const getContactNameColorSelector = createSelector(
|
||||||
);
|
);
|
||||||
const color = contactNameColors.get(contactId);
|
const color = contactNameColors.get(contactId);
|
||||||
if (!color) {
|
if (!color) {
|
||||||
assert(false, `No color generated for contact ${contactId}`);
|
window.log.warn(`No color generated for contact ${contactId}`);
|
||||||
return ContactNameColors[0];
|
return ContactNameColors[0];
|
||||||
}
|
}
|
||||||
return color;
|
return color;
|
||||||
|
|
Loading…
Reference in a new issue