This commit is contained in:
Kenneth Jannette
2024-02-21 21:38:54 -06:00
parent 84e0af413a
commit 7f1326f986

View File

@@ -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() {