This commit is contained in:
Nikita 2025-10-23 22:21:40 +03:00
parent ca936aada7
commit 9cbeaef88d

View file

@ -204,17 +204,12 @@ export default function ExportModal(Props) {
setStrudelMaxPolyphony(maxPolyphony);
setStrudelMultiChannelOrbits(multiChannelOrbits);
setTimeout(refreshProgress, 1000);
await handleExport(
startCycle,
endCycle,
sampleRate,
maxPolyphony,
multiChannelOrbits,
downloadName,
).then(() => {
await handleExport(startCycle, endCycle, sampleRate, maxPolyphony, multiChannelOrbits, downloadName)
.then(() => {
const modal = document.getElementById('exportModal');
modal.close();
}).finally(() => {
})
.finally(() => {
setExporting(false);
setProgress(0);
setLength(1);