Skip to content

Commit

Permalink
Merge branch 'feat(profile)/transfer' of github.com:cartridge-gg/cont…
Browse files Browse the repository at this point in the history
…roller into feat(profile)/transfer
  • Loading branch information
bal7hazar committed Dec 16, 2024
2 parents eb1dd9d + ba4a2a5 commit dd82d6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/profile/src/components/inventory/token/token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }>();
Expand Down
6 changes: 0 additions & 6 deletions packages/profile/src/hooks/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -47,11 +46,6 @@ export function useAccount() {
[data],
);

const posthog = usePostHog();
useEffect(() => {
posthog.setPersonPropertiesForFlags({ address });
}, [posthog, address]);

return {
username,
address,
Expand Down

0 comments on commit dd82d6f

Please sign in to comment.