Fix posthog callsites

This commit is contained in:
Will Chen
2025-04-21 14:43:20 -07:00
parent 0e48d02a0b
commit 40132ec5da
4 changed files with 6 additions and 10 deletions

View File

@@ -18,7 +18,6 @@ import {
import { ChatList } from "./ChatList";
import { AppList } from "./AppList";
import { HelpDialog } from "./HelpDialog"; // Import the new dialog
import { usePostHog } from "posthog-js/react";
// Menu items.
const items = [
@@ -146,8 +145,6 @@ function AppIcons({
}: {
onHoverChange: (state: HoverState) => void;
}) {
const { capture } = usePostHog();
const routerState = useRouterState();
const pathname = routerState.location.pathname;