diff --git a/components/form/content/spit-convert-form.tsx b/components/form/content/spit-convert-form.tsx index 4087998c..6e9ce4aa 100644 --- a/components/form/content/spit-convert-form.tsx +++ b/components/form/content/spit-convert-form.tsx @@ -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);