Skip to content

Commit a4c453a

Browse files
committed
Drop comments on website
Because those are mostly either low quality questions/feedback or stale information.
1 parent e4f7bc0 commit a4c453a

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

website/theme.config.tsx

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,10 @@
11
/* eslint sort-keys: error */
2-
import { useRouter } from 'next/router';
3-
import { defineConfig, Giscus, PRODUCTS, useTheme } from '@theguild/components';
2+
import { defineConfig, PRODUCTS } from '@theguild/components';
43

54
export default defineConfig({
65
docsRepositoryBase: 'https://github.com/kamilkisiela/apollo-angular/tree/master/website',
76
main({ children }) {
8-
const { resolvedTheme } = useTheme();
9-
const { route } = useRouter();
10-
11-
const comments = route !== '/' && (
12-
<Giscus
13-
// ensure giscus is reloaded when client side route is changed
14-
key={route}
15-
repo="kamilkisiela/apollo-angular"
16-
repoId="MDEwOlJlcG9zaXRvcnk1NjM1NjcwNg=="
17-
category="Docs Discussions"
18-
categoryId="DIC_kwDOA1vvYs4CSDSL"
19-
mapping="pathname"
20-
theme={resolvedTheme}
21-
/>
22-
);
23-
return (
24-
<>
25-
{children}
26-
{comments}
27-
</>
28-
);
7+
return <>{children}</>;
298
},
309
websiteName: 'Apollo Angular',
3110
description: 'A fully-featured GraphQL client for Angular',

0 commit comments

Comments
 (0)