More
This commit is contained in:
@@ -358,6 +358,7 @@ const DocEditPage = () => {
|
|||||||
|
|
||||||
async function createAndReturnDocx() {
|
async function createAndReturnDocx() {
|
||||||
setIsBusy(true);
|
setIsBusy(true);
|
||||||
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||||
const response = await handleCreateDocx();
|
const response = await handleCreateDocx();
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
setTimeout(getDocx, 5000);
|
setTimeout(getDocx, 5000);
|
||||||
@@ -365,8 +366,7 @@ const DocEditPage = () => {
|
|||||||
} else {
|
} else {
|
||||||
setShowErrorModal(true);
|
setShowErrorModal(true);
|
||||||
}
|
}
|
||||||
onScrollClick();
|
setTimeout(flipBusy, 2500);
|
||||||
setTimeout(flipBusy, 3000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function cleanUpDocx() {
|
async function cleanUpDocx() {
|
||||||
|
|||||||
Reference in New Issue
Block a user