clear publishing on publish load #5807

Merged
jessopb merged 1 commit from masterNoStuck into master 2021-04-02 17:55:41 +02:00

View file

@ -201,6 +201,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();