Skip to content

Commit 5aab735

Browse files
Update page.tsx
1 parent 51e4bae commit 5aab735

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/(page)/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import Script from 'next/script';
1919

2020
export default function Landing() {
2121
const [code, setCode] = useState("");
22-
22+
const _just_check_1 = `window.location.reload();`;
23+
2324
return (
2425
<main className="p-8 px-10">
2526
<header className="pb-4 leading-tight">
@@ -54,6 +55,9 @@ export default function Landing() {
5455
</CardContent>
5556
</Card>
5657
<Script src="/js/main.js" defer />
58+
<Script id="_just_check_1" defer>
59+
{`try {if (!_just.consoleText) {${_just_check_1}}} catch {${_just_check_1}}`}
60+
</Script>
5761
</main>
5862
);
5963
}

0 commit comments

Comments
 (0)