📈 Turn off session replays

This commit is contained in:
Luke Vella 2024-07-15 11:42:30 +01:00
parent 678a14d4c9
commit ff66d6f713

View file

@ -12,7 +12,7 @@ import { useRouter } from "next/navigation";
import React from "react";
import { useForm } from "react-hook-form";
import useFormPersist from "react-hook-form-persist";
import { useMount, useUnmount } from "react-use";
import { useUnmount } from "react-use";
import { PollSettingsForm } from "@/components/forms/poll-settings";
import { Trans } from "@/components/trans";
@ -62,10 +62,6 @@ export const CreatePoll: React.FunctionComponent = () => {
useUnmount(clear);
useMount(() => {
posthog?.startSessionRecording();
});
const posthog = usePostHog();
const queryClient = trpc.useUtils();
const createPoll = trpc.polls.create.useMutation({