fix: create spit

This commit is contained in:
Sabda Yagra 2025-07-23 11:15:19 +07:00
parent a9bba5ced6
commit 53f2ebab41
1 changed files with 2 additions and 2 deletions

View File

@ -558,7 +558,6 @@ export default function FormConvertSPIT() {
break;
}
}
return temp;
};
@ -608,7 +607,8 @@ export default function FormConvertSPIT() {
icon: "success",
confirmButtonColor: "#3085d6",
}).then(() => {
router.push("/in/contributor/content/spit");
// router.push("/in/contributor/content/spit");
router.replace(`${window.location.pathname}?id=${id}`);
});
} catch (error) {
console.error("Failed to save:", error);