diff --git a/ts/state/selectors/conversations.ts b/ts/state/selectors/conversations.ts index 7b4bb8d808eb..66da107578af 100644 --- a/ts/state/selectors/conversations.ts +++ b/ts/state/selectors/conversations.ts @@ -879,7 +879,7 @@ export const getContactNameColorSelector = createSelector( ); const color = contactNameColors.get(contactId); if (!color) { - assert(false, `No color generated for contact ${contactId}`); + window.log.warn(`No color generated for contact ${contactId}`); return ContactNameColors[0]; } return color;