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 52c844a commit 0824985Copy full SHA for 0824985
src/pages/_app.tsx
@@ -39,9 +39,12 @@ const OpenSans = Open_Sans({ subsets: ['latin'] })
39
function MaiaPlatform({ Component, pageProps }: AppProps) {
40
const router = useRouter()
41
const isAnalysisPage = router.pathname.startsWith('/analysis')
42
- const isPageWithAnalysis = ['/analysis', '/openings', '/puzzles'].some(
43
- (path) => router.pathname.includes(path),
44
- )
+ const isPageWithAnalysis = [
+ '/analysis',
+ '/openings',
45
+ '/puzzles',
46
+ '/settings',
47
+ ].some((path) => router.pathname.includes(path))
48
49
useEffect(() => {
50
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY as string, {
0 commit comments