This commit is contained in:
Jamie Kyle 2023-04-20 10:03:43 -07:00 committed by GitHub
parent 1f2cde6d04
commit 0e490542a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
196 changed files with 2117 additions and 1217 deletions

View file

@ -5,6 +5,7 @@ import React from 'react';
import type { LocalizerType } from '../types/Util';
import { getStoryDistributionListName } from '../types/Stories';
import { UserText } from './UserText';
type PropsType = {
i18n: LocalizerType;
@ -17,5 +18,5 @@ export function StoryDistributionListName({
id,
name,
}: PropsType): JSX.Element {
return <>{getStoryDistributionListName(i18n, id, name)}</>;
return <UserText text={getStoryDistributionListName(i18n, id, name)} />;
}