Skip to content

Commit 5f406b4

Browse files
committed
fix typo in variable name
1 parent 1fa1730 commit 5f406b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/EmptyStateComponent/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function EmptyStateComponent({
3737
const styles = useThemeStyles();
3838
const [videoAspectRatio, setVideoAspectRatio] = useState(VIDEO_ASPECT_RATIO);
3939
const {shouldUseNarrowLayout} = useResponsiveLayout();
40-
const isSubtitleContainsCustomEmoji = containsCustomEmoji(subtitle ?? '') && !containsOnlyCustomEmoji(subtitle ?? '');
40+
const doesSubtitleContainCustomEmoji = containsCustomEmoji(subtitle ?? '') && !containsOnlyCustomEmoji(subtitle ?? '');
4141

4242
const setAspectRatio = (event: VideoReadyForDisplayEvent | VideoLoadedEventType | undefined) => {
4343
if (!event) {
@@ -104,7 +104,7 @@ function EmptyStateComponent({
104104
<View style={[shouldUseNarrowLayout ? styles.p5 : styles.p8, cardContentStyles]}>
105105
<Text style={[styles.textAlignCenter, styles.textHeadlineH1, styles.mb2, titleStyles]}>{title}</Text>
106106
{subtitleText ??
107-
(isSubtitleContainsCustomEmoji ? (
107+
(doesSubtitleContainCustomEmoji ? (
108108
<TextWithEmojiFragment
109109
style={[styles.textAlignCenter, styles.textSupporting, styles.textNormal]}
110110
message={subtitle}

0 commit comments

Comments
 (0)