main
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-04-05 20:37:03 +03:00
parent d8f9865dcf
commit dd8878d403
10 changed files with 767 additions and 285 deletions

View File

@@ -90,11 +90,6 @@ export default function XToVideoPage() {
toast.success("Tweet → Video projesi oluşturuldu!");
const projectId = result?.id;
if (projectId) {
// Otomatik senaryo üretimini tetikle
const { projectsApi } = await import("@/lib/api/api-service");
projectsApi.generateScript(projectId).catch((err) => {
console.error("Tweet→Video senaryo üretimi başlatılamadı:", err);
});
router.push(`/dashboard/projects/${projectId}`);
} else {
router.push("/dashboard/projects");