fix music url structure

This commit is contained in:
Thomas Demirdjian
2025-09-02 13:17:19 +02:00
parent 98367af0b7
commit d634c55aaa
8 changed files with 141 additions and 168 deletions
+8 -5
View File
@@ -30,8 +30,8 @@ const CREATE_DATA = [
img: ai.bena,
bg: background.productionBG,
label: "Bena",
desc: "Come back when you want\nto publish the song!",
type: "Producer",
desc: "Come back when you want\nto generate cover!",
type: "Designer",
},
{
img: ai.john,
@@ -72,15 +72,18 @@ const NewMusicOptions = ({ route }) => {
if (isLocked(index)) return;
switch (index) {
case 0:
navigate(Routes.WritingLyrics, {});
navigate(Routes.WritingLyrics, {
projectId: currentProjet?.id || null,
});
break;
case 1:
navigate(Routes.Studio, { action: item.type });
navigate(Routes.Compose, { projectId: currentProjet.id });
break;
case 2:
navigate(Routes.Production, { action: item.type });
navigate(Routes.PouchReady, { projectId: currentProjet.id });
break;
default:
navigate(Routes.PouchReady, { projectId: currentProjet.id });
break;
}
};