first music free

This commit is contained in:
2025-10-21 15:29:20 +02:00
parent 59952efc1c
commit 90ad4be673
3 changed files with 25 additions and 2 deletions
+6 -2
View File
@@ -22,8 +22,12 @@ const WritingLyrics = () => {
await setIsLoading(true);
if (selectedProject) {
updateProjectData({ hasLyrics });
} else {
await createNewProject({ hasLyrics });
setTimeout(() => navigate(Routes.CreateLyricsWithAi), 500);
return;
}
const newProjectId = await createNewProject({ hasLyrics });
if (!newProjectId) {
return;
}
setTimeout(() => navigate(Routes.CreateLyricsWithAi), 500);
} catch (e) {