From 399c4eb56dd1000e1bccafd11a45ed34e5f45839 Mon Sep 17 00:00:00 2001 From: Dan Peterson Date: Thu, 30 Dec 2021 10:31:26 -0600 Subject: [PATCH] revert commit - wrong branch --- ui/component/publishForm/view.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ui/component/publishForm/view.jsx b/ui/component/publishForm/view.jsx index ffc4a8467..aa11ca2d3 100644 --- a/ui/component/publishForm/view.jsx +++ b/ui/component/publishForm/view.jsx @@ -560,13 +560,6 @@ function PublishForm(props: Props) { } }, [mode, updatePublishForm]); - // Reset any set release time if switching to live stream mode. - useEffect(() => { - if (mode === PUBLISH_MODES.LIVESTREAM) { - updatePublishForm({ releaseTimeEdited: undefined }); - } - }, [mode, updatePublishForm]); - if (publishing) { return (