more
This commit is contained in:
@@ -352,6 +352,10 @@ const DocEditPage = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const flipBusy = () => {
|
||||||
|
setIsBusy(!isBusy);
|
||||||
|
};
|
||||||
|
|
||||||
async function createAndReturnDocx() {
|
async function createAndReturnDocx() {
|
||||||
setIsBusy(true);
|
setIsBusy(true);
|
||||||
const response = await handleCreateDocx();
|
const response = await handleCreateDocx();
|
||||||
@@ -361,7 +365,7 @@ const DocEditPage = () => {
|
|||||||
} else {
|
} else {
|
||||||
setShowErrorModal(true);
|
setShowErrorModal(true);
|
||||||
}
|
}
|
||||||
setIsBusy(false);
|
setTimeout(flipBusy, 800);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function cleanUpDocx() {
|
async function cleanUpDocx() {
|
||||||
|
|||||||
Reference in New Issue
Block a user