feat: fix drag and drop

This commit is contained in:
2025-11-17 14:07:37 +01:00
parent 0dd9dbcfae
commit 97321cdbda
4 changed files with 320 additions and 68 deletions
@@ -319,10 +319,7 @@ const CreateLyricsWithAi = () => {
};
const onPressBack = () => {
// If currently on SongStructure, go back to previous screen instead of previous step
if (selectedIndex === 5) {
goBack();
} else if (selectedIndex > 0) {
if (selectedIndex > 0) {
setSelectedIndex((idx) => Math.max(0, idx - 1));
} else {
goBack();