Skip to content

Commit

Permalink
Remove fathom (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeslaur authored Mar 20, 2023
1 parent e3b02fe commit 9de9080
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Check prettify code
uses: creyD/prettier_action@v4.2
uses: creyD/prettier_action@v4.3
with:
dry: true
prettier_options: --check .
16 changes: 0 additions & 16 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
import * as Fathom from "fathom-client";
import type { AppProps } from "next/app";
import { Router } from "next/router";
import { useEffect } from "react";

// Record a pageview when route changes.
Router.events.on("routeChangeComplete", (as, routeProps) => {
if (!routeProps.shallow) {
Fathom.trackPageview();
}
});

function App({ Component, pageProps }: AppProps) {
useEffect(() => {
Fathom.load("EKFJYRUD", {
includedDomains: ["rekor.tlog.dev"],
});
}, []);

return <Component {...pageProps} />;
}

Expand Down

1 comment on commit 9de9080

@vercel
Copy link

@vercel vercel bot commented on 9de9080 Mar 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rekor-search-ui – ./

rekor-search-ui-git-main.chainguard.app
rekor.tlog.dev
rekor-search-ui.chainguard.app
rekor-search-ui.vercel.app

Please sign in to comment.