fix: mispell of ConversationHeaderSubtitle

pull/2660/head
William Grant 2 years ago
parent 2fbee2197a
commit 992d3d34e4

@ -62,7 +62,7 @@ const SubtitleDotMenu = ({
</Flex>
);
type ConversationHeaderSubitleProps = {
type ConversationHeaderSubtitleProps = {
subtitlesArray: Array<SubtitleStringsType>;
subtitleStrings: SubtitleStrings;
currentSubtitle: SubtitleStringsType;
@ -71,7 +71,7 @@ type ConversationHeaderSubitleProps = {
showDisappearingMessageIcon: boolean;
};
export const ConversationHeaderSubitle = (props: ConversationHeaderSubitleProps) => {
export const ConversationHeaderSubtitle = (props: ConversationHeaderSubtitleProps) => {
const {
subtitlesArray,
subtitleStrings,

@ -13,7 +13,7 @@ import {
DisappearingMessageConversationType,
ExpirationTimerOptions,
} from '../../../util/expiringMessages';
import { ConversationHeaderSubitle } from './ConversationHeaderSubtitle';
import { ConversationHeaderSubtitle } from './ConversationHeaderSubtitle';
export type SubtitleStrings = Record<string, string> & {
notifications?: string;
@ -166,7 +166,7 @@ export const ConversationHeaderTitle = () => {
</span>
)}
{subtitleArray.indexOf(visibleSubtitle) > -1 && (
<ConversationHeaderSubitle
<ConversationHeaderSubtitle
currentSubtitle={visibleSubtitle}
setCurrentSubtitle={setVisibleSubtitle}
subtitlesArray={subtitleArray}

Loading…
Cancel
Save