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

This commit is contained in:
Harun CAN
2026-04-12 15:15:43 +02:00
parent 75de91848e
commit 50b2c0d8af
5 changed files with 11 additions and 8 deletions
@@ -58,7 +58,7 @@ export default function DocumentToVideoPage() {
const handleGenerate = async () => {
if (!file) {
toast.error("Lütfen bir belge seçin.");
toast("error", "Lütfen bir belge seçin.");
return;
}
@@ -71,10 +71,10 @@ export default function DocumentToVideoPage() {
targetDuration: duration,
});
toast.success("Belge → Video projesi oluşturuldu!");
toast("success", "Belge → Video projesi oluşturuldu!");
router.push(`/dashboard/projects/${result.id}`);
} catch (error) {
toast.error("Proje oluşturulurken hata oluştu.");
toast("error", "Proje oluşturulurken hata oluştu.");
}
};