clear last tickets

This commit is contained in:
Thomas Demirdjian
2025-11-26 15:33:22 +01:00
parent ee9cc5dccd
commit d7b14bd873
25 changed files with 1692 additions and 1967 deletions
@@ -26,6 +26,9 @@ const CUSTOM_SANITIZE_OPTIONS = { autoInjectPreChorus: false };
const CreateLyricsWithAi = () => {
const { selectedProject } = useUser();
const [selectedIndex, setSelectedIndex] = useState(0);
const handleLyricsError = React.useCallback(() => {
setSelectedIndex(7);
}, [setSelectedIndex]);
// Collected state across steps
const [objective, setObjective] = useState(null); // from Goals list
@@ -403,6 +406,7 @@ const CreateLyricsWithAi = () => {
customStructure,
rhymes,
}}
onErrorRedirect={handleLyricsError}
/>
),
},