From 82978ed73933e6ba5965c57c74d633ce24f5c7ff Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Mon, 1 May 2023 22:35:21 +0200 Subject: [PATCH] fix/closing videoRecorderModal without uploading will keep it in the post step --- src/components/VideoRecordModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/VideoRecordModal.tsx b/src/components/VideoRecordModal.tsx index 80181ae..d36bfb0 100644 --- a/src/components/VideoRecordModal.tsx +++ b/src/components/VideoRecordModal.tsx @@ -12,6 +12,7 @@ export default function VideoRecordModal() { const posthog = usePostHog(); function closeModal() { + setStep("pre"); setOpen(false); }