alert after paroles

This commit is contained in:
2025-10-20 10:03:36 +02:00
parent a0de26b41f
commit f9b478fe22
7 changed files with 59 additions and 32 deletions
+11 -1
View File
@@ -29,7 +29,7 @@ import {
getStageAction,
} from "../../utils/projectStages";
const Home = () => {
const Home = ({ navigation, route }) => {
const {
userProjects = [],
resetSelectedProject,
@@ -216,6 +216,16 @@ const Home = () => {
];
}, [handleDeleteProject, menuProject?.id]);
useEffect(() => {
if (route?.params?.showLyricsCongrats) {
Alert(
"Nathalie",
"Bravo ! Vous venez de terminer de créer les paroles de votre musique ! Maintenant vous pouvez passer à la prochaine étape : le Studio avec Malik. Dans cette étape vous allez pouvoir donner vie à votre chanson !"
);
navigation?.setParams?.({ showLyricsCongrats: false });
}
}, [navigation, route?.params?.showLyricsCongrats]);
const activeStage =
stageStates[activeStageIndex] || stageStates[preferredStageIndex];
const stageAction = useMemo(() => {