diff --git a/ts/components/conversation/ContactDetail.tsx b/ts/components/conversation/ContactDetail.tsx index 0ee7e40e0db..1a195d2bb49 100644 --- a/ts/components/conversation/ContactDetail.tsx +++ b/ts/components/conversation/ContactDetail.tsx @@ -16,7 +16,7 @@ import { renderAvatar, renderContactShorthand, renderName, -} from './_contactUtil'; +} from './contactUtil'; import type { LocalizerType } from '../../types/Util'; diff --git a/ts/components/conversation/EmbeddedContact.tsx b/ts/components/conversation/EmbeddedContact.tsx index 7cf10411430..660728c480f 100644 --- a/ts/components/conversation/EmbeddedContact.tsx +++ b/ts/components/conversation/EmbeddedContact.tsx @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Signal Messenger, LLC +// Copyright 2018-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; @@ -11,7 +11,7 @@ import { renderAvatar, renderContactShorthand, renderName, -} from './_contactUtil'; +} from './contactUtil'; export type Props = { contact: EmbeddedContactType; diff --git a/ts/components/conversation/_contactUtil.tsx b/ts/components/conversation/contactUtil.tsx similarity index 97% rename from ts/components/conversation/_contactUtil.tsx rename to ts/components/conversation/contactUtil.tsx index 817fcc9307a..3daa99f0cd2 100644 --- a/ts/components/conversation/_contactUtil.tsx +++ b/ts/components/conversation/contactUtil.tsx @@ -12,8 +12,6 @@ import { AvatarColors } from '../../types/Colors'; import type { EmbeddedContactType } from '../../types/EmbeddedContact'; import { getName } from '../../types/EmbeddedContact'; -// This file starts with _ to keep it from showing up in the StyleGuide. - export function renderAvatar({ contact, i18n,