Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

📈 Turn off session replays

Luke Vellaff66d6f713f3
diff --git a/apps/web/src/components/create-poll.tsx b/apps/web/src/components/create-poll.tsx
index bb1e4be06..1299987e3 100644
--- a/apps/web/src/components/create-poll.tsx
+++ b/apps/web/src/components/create-poll.tsx
@@ -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({