clear publishing on publish load (#5807)
This commit is contained in:
parent
9cd86be04f
commit
8ab0bcd545
1 changed files with 7 additions and 0 deletions
|
@ -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(() => {
|
useEffect(() => {
|
||||||
if (!thumbnail) {
|
if (!thumbnail) {
|
||||||
resetThumbnailStatus();
|
resetThumbnailStatus();
|
||||||
|
|
Loading…
Reference in a new issue