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,
renderContactShorthand,
renderName,
} from './_contactUtil';
} from './contactUtil';
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
import React from 'react';
@ -11,7 +11,7 @@ import {
renderAvatar,
renderContactShorthand,
renderName,
} from './_contactUtil';
} from './contactUtil';
export type Props = {
contact: EmbeddedContactType;

View File

@ -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,