We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e4bae commit 5aab735Copy full SHA for 5aab735
src/app/(page)/page.tsx
@@ -19,7 +19,8 @@ import Script from 'next/script';
19
20
export default function Landing() {
21
const [code, setCode] = useState("");
22
-
+ const _just_check_1 = `window.location.reload();`;
23
+
24
return (
25
<main className="p-8 px-10">
26
<header className="pb-4 leading-tight">
@@ -54,6 +55,9 @@ export default function Landing() {
54
55
</CardContent>
56
</Card>
57
<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>
61
</main>
62
);
63
}
0 commit comments