Skip to content

Commit a68ee1b

Browse files
author
asteria
committed
remove fathom
1 parent fdef079 commit a68ee1b

File tree

6 files changed

+0
-35
lines changed

6 files changed

+0
-35
lines changed

next.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -931,9 +931,6 @@ module.exports = withFonts(
931931
jsconfigPaths: true,
932932
trailingSlash: true,
933933
},
934-
env: {
935-
FATHOM_ID: 'FOEMPXUV',
936-
},
937934
redirects,
938935
pageExtensions: ['js', 'ts', 'tsx', 'md', 'mdx'],
939936
webpack: (config, options) => {

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"docsearch.js": "^2.6.3",
4040
"emotion": "^11.0.0",
4141
"emotion-server": "^11.0.0",
42-
"fathom-client": "^3.0.0",
4342
"front-matter": "^4.0.2",
4443
"fs-extra": "^9.0.1",
4544
"github-slugger": "^1.3.0",

src/common/hooks/use-fathom.ts

-23
This file was deleted.

src/components/app-wrapper.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ import { AppStateProvider } from '@components/app-state';
33
import { ProgressBar } from '@components/progress-bar';
44
import { BaseLayout } from '@components/layouts/base-layout';
55
import { Meta } from '@components/meta-head';
6-
import { useFathom } from '@common/hooks/use-fathom';
76

87
export const AppWrapper: React.FC<any> = ({ children, isHome }) => {
9-
useFathom();
108
return (
119
<>
1210
<Meta />

src/pages/_document.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ try {
121121
}}
122122
/>
123123
<link rel="preconnect" href="https://bh4d9od16a-dsn.algolia.net" crossOrigin="true" />
124-
<link rel="preconnect" href="https://cdn.usefathom.com" crossOrigin="true" />
125124
<Main />
126125
<NextScript />
127126
</body>

yarn.lock

-5
Original file line numberDiff line numberDiff line change
@@ -4637,11 +4637,6 @@ fastq@^1.6.0:
46374637
dependencies:
46384638
reusify "^1.0.4"
46394639

4640-
fathom-client@^3.0.0:
4641-
version "3.0.0"
4642-
resolved "https://registry.yarnpkg.com/fathom-client/-/fathom-client-3.0.0.tgz#409c047cf1e2fea45b148e28d50fcd635e992893"
4643-
integrity sha512-d0oH2SHWCMIVLbbegB7nBIjSvbqbHrZBZxIOWSVAxlJL/roL0Ah9NNb6rTIcKMlA4gov9AjWQGEcZRzlnGc3XQ==
4644-
46454640
fault@^1.0.0:
46464641
version "1.0.4"
46474642
resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13"

0 commit comments

Comments
 (0)