Skip to content

Commit

Permalink
check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
armup31 committed Nov 26, 2024
1 parent 9a770f2 commit dabd6a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions websites/P/Physics Wallah/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ``;

Check failure on line 78 in websites/P/Physics Wallah/presence.ts

View workflow job for this annotation

GitHub Actions / Compile and Lint

Strings must use doublequote
if (deta.subject === null) detal = ""; else detal = ` | ${deta.subject.name}`;
if (!privacyMode) {
presenceData.details = `Watching Lecture${detal}`;

Expand Down

0 comments on commit dabd6a5

Please sign in to comment.