Clean up contact utility file name

This commit is contained in:
Evan Hahn 2021-12-01 17:37:37 -06:00 committed by GitHub
parent 5938be0bff
commit ee93168028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -16,7 +16,7 @@ import {
renderAvatar, renderAvatar,
renderContactShorthand, renderContactShorthand,
renderName, renderName,
} from './_contactUtil'; } from './contactUtil';
import type { LocalizerType } from '../../types/Util'; import type { LocalizerType } from '../../types/Util';

View file

@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC // Copyright 2018-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only // SPDX-License-Identifier: AGPL-3.0-only
import React from 'react'; import React from 'react';
@ -11,7 +11,7 @@ import {
renderAvatar, renderAvatar,
renderContactShorthand, renderContactShorthand,
renderName, renderName,
} from './_contactUtil'; } from './contactUtil';
export type Props = { export type Props = {
contact: EmbeddedContactType; contact: EmbeddedContactType;

View file

@ -12,8 +12,6 @@ import { AvatarColors } from '../../types/Colors';
import type { EmbeddedContactType } from '../../types/EmbeddedContact'; import type { EmbeddedContactType } from '../../types/EmbeddedContact';
import { getName } from '../../types/EmbeddedContact'; import { getName } from '../../types/EmbeddedContact';
// This file starts with _ to keep it from showing up in the StyleGuide.
export function renderAvatar({ export function renderAvatar({
contact, contact,
i18n, i18n,