Skip to content

Commit d21aa1d

Browse files
dont use urlsearchparams
1 parent fcdaffe commit d21aa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import UwuLogoUrl from "@site/static/img/uwulogo.png";
1010

1111
function HomepageHeader() {
1212
const { siteConfig } = useDocusaurusContext();
13-
const uwu = new URLSearchParams(window.location.search).get("uwu") !== null;
13+
const uwu = window.location.search.includes("uwu");
1414

1515
return (
1616
<header className={clsx("hero hero--primary", styles.heroBanner)}>

0 commit comments

Comments
 (0)