Skip to content

Commit

Permalink
usePostHogContex
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougie committed Jun 6, 2023
1 parent cf44cc6 commit 11a6960
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -8,7 +8,7 @@ import { MarkGithubIcon } from "@primer/octicons-react";
import { User } from "@supabase/supabase-js";
import { FiCopy } from "react-icons/fi";
import { useToast } from "lib/hooks/useToast";
import { usePostHog } from 'posthog-js/react'
import { usePostHogContext } from 'posthog-js/react'

interface ContributorProfileHeaderProps {
avatarUrl?: string;
Expand All @@ -34,7 +34,7 @@ const ContributorProfileHeader = ({
handleSignIn,
isOwner
}: ContributorProfileHeaderProps) => {
const posthog = usePostHog()
const posthog = usePostHogContext()
const { toast } = useToast();
const [host, setHost] = useState("");
const handleFollowClick = () => {
Expand Down

0 comments on commit 11a6960

Please sign in to comment.