From 9c01f0690528911337803fd93e04779ab05bf71f Mon Sep 17 00:00:00 2001 From: sagarika-padmanaban Date: Mon, 23 Dec 2024 13:37:25 +0530 Subject: [PATCH] fix --- .../component/CL-Transcription/SettingsButtonComponent.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx b/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx index 8c1474d4..d8a48286 100644 --- a/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx +++ b/src/ui/pages/component/CL-Transcription/SettingsButtonComponent.jsx @@ -226,7 +226,7 @@ ProjectDetails, } /> - {ProjectDetails.title.toLowerCase().includes("yt_transcription")&& + {ProjectDetails?.title?.toLowerCase()?.includes("yt_transcription")&& { @@ -311,7 +311,7 @@ ProjectDetails, className={classes.rightPanelDivider} style={{ border: "1px solid grey", height: "auto", margin: "0 5px" }} /> -{ProjectDetails.title.toLowerCase().includes("yt_transcription") && hash && ( +{ProjectDetails?.title?.toLowerCase()?.includes("yt_transcription") && hash && (