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