Skip to content

Commit ce97bef

Browse files
committed
Fix window declaration error
1 parent 17cdeec commit ce97bef

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/pages/_app.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ Router.events.on("routeChangeStart", () => NProgress.start());
2424
Router.events.on("routeChangeComplete", () => NProgress.done());
2525
Router.events.on("routeChangeError", () => NProgress.done());
2626

27-
declare global {
28-
interface Window { plausible: any; }
29-
}
30-
3127
export default function MyApp({ Component, pageProps }) {
3228
useEffect(() => {
3329
smartquotes().listen();
@@ -50,8 +46,6 @@ export default function MyApp({ Component, pageProps }) {
5046
/>
5147

5248
<Script defer data-domain="apsis.io" src="https://plausible.skylab.apsis.io/js/script.file-downloads.hash.outbound-links.pageview-props.tagged-events.js" />
53-
<Script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</Script>
54-
5549

5650
<meta
5751
name="theme-color"

0 commit comments

Comments
 (0)