Skip to content

Commit beb97de

Browse files
committed
Fix TS
1 parent 85a5b69 commit beb97de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/gitbook/src/components/SitePage/SitePageNotFound.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { TrackPageViewEvent } from '@/components/Insights';
44
import { t, useLanguage } from '@/intl/client';
55
import { tcls } from '@/lib/tailwind';
6+
import { SiteInsightsDisplayContext } from '@gitbook/api';
67
import { useRouter, useSearchParams } from 'next/navigation';
78
import { useEffect } from 'react';
89
import { useSpaceBasePath } from '../SpaceLayout/SpaceLayoutContext';
@@ -46,7 +47,7 @@ export function SitePageNotFound() {
4647
</div>
4748

4849
{/* Track the page not found as a page view */}
49-
<TrackPageViewEvent />
50+
<TrackPageViewEvent displayContext={SiteInsightsDisplayContext.Site} />
5051
</div>
5152
</CurrentPageProvider>
5253
);

0 commit comments

Comments
 (0)