clear last tickets
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user