diff --git a/packages/profile/src/components/inventory/token/token.tsx b/packages/profile/src/components/inventory/token/token.tsx index 5891fcdb1..81c411044 100644 --- a/packages/profile/src/components/inventory/token/token.tsx +++ b/packages/profile/src/components/inventory/token/token.tsx @@ -30,7 +30,6 @@ import { formatEther } from "viem"; import { useAccount } from "@/hooks/account"; import { useToken } from "@/hooks/token"; import { TokenPair } from "@cartridge/utils/api/cartridge"; -import { useFeatureFlagEnabled } from "posthog-js/react"; export function Token() { const { address } = useParams<{ address: string }>(); diff --git a/packages/profile/src/hooks/account.ts b/packages/profile/src/hooks/account.ts index 27738aa50..00e9f8b48 100644 --- a/packages/profile/src/hooks/account.ts +++ b/packages/profile/src/hooks/account.ts @@ -3,7 +3,6 @@ import { useAccountNameQuery, useAddressByUsernameQuery, } from "@cartridge/utils/api/cartridge"; -import { usePostHog } from "posthog-js/react"; import { useEffect, useMemo, useRef } from "react"; import { useParams } from "react-router-dom"; @@ -47,11 +46,6 @@ export function useAccount() { [data], ); - const posthog = usePostHog(); - useEffect(() => { - posthog.setPersonPropertiesForFlags({ address }); - }, [posthog, address]); - return { username, address,