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

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