clear publishing on publish load #5807
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(() => {
|
||||
if (!thumbnail) {
|
||||
resetThumbnailStatus();
|
||||
|
|
Loading…
Add table
Reference in a new issue