feat: add drag and drop errors
This commit is contained in:
@@ -20,6 +20,7 @@ import {
|
||||
|
||||
const FAKE_PROGRESS_MAX = 96;
|
||||
const PROGRESS_INTERVAL_MS = 250;
|
||||
const CUSTOM_SANITIZE_OPTIONS = { autoInjectPreChorus: false };
|
||||
|
||||
const CreatingLyrics = ({ active, config, selections }) => {
|
||||
const [progress, setProgress] = useState(0);
|
||||
@@ -188,7 +189,8 @@ const CreatingLyrics = ({ active, config, selections }) => {
|
||||
if (persistedSelections) {
|
||||
if ("customStructure" in persistedSelections) {
|
||||
persistedSelections.customStructure = sanitizeStructureList(
|
||||
persistedSelections.customStructure
|
||||
persistedSelections.customStructure,
|
||||
CUSTOM_SANITIZE_OPTIONS
|
||||
);
|
||||
}
|
||||
if ("parsedStructure" in persistedSelections) {
|
||||
|
||||
Reference in New Issue
Block a user