revert commit - wrong branch

This commit is contained in:
Dan Peterson 2021-12-30 10:31:26 -06:00 committed by Thomas Zarebczan
parent a92e9c9973
commit 399c4eb56d

View file

@ -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 (
<div className="main--empty">