From dabd6a52fc582bf8c37bd981fe5e99c3528a3be7 Mon Sep 17 00:00:00 2001 From: armup31 Date: Tue, 26 Nov 2024 17:26:17 +0530 Subject: [PATCH] check fixes --- websites/P/Physics Wallah/presence.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websites/P/Physics Wallah/presence.ts b/websites/P/Physics Wallah/presence.ts index 5f0092ffeda3..15a2c34e76a7 100644 --- a/websites/P/Physics Wallah/presence.ts +++ b/websites/P/Physics Wallah/presence.ts @@ -75,8 +75,8 @@ presence.on("UpdateData", async () => { } } else if (pathname.startsWith("/watch")) { const deta = JSON.parse(localStorage.getItem("SCHEDULE_DETAILS")); - let detal = ` | ${deta.subject.name}`; - if (deta.subject === null) detal = ""; + let detal = ``; + if (deta.subject === null) detal = ""; else detal = ` | ${deta.subject.name}`; if (!privacyMode) { presenceData.details = `Watching Lecture${detal}`;