do not get stuck on publishing spinner #5806

Merged
jessopb merged 1 commit from fix-noStuckPublishingSpinner into odysee 2021-04-01 00:32:48 +02:00

View file

@ -202,6 +202,13 @@ function PublishForm(props: Props) {
}
}
// if you enter the page and it is stuck in publishing, "stop it."
useEffect(() => {
if (publishing) {
clearPublish();
}
}, []);
useEffect(() => {
if (!thumbnail) {
resetThumbnailStatus();