Improve project downloading functionality and integrate download button into ProjectManager

This commit is contained in:
2026-07-13 22:02:57 +02:00
parent 07f33a3439
commit 77139c57bd
2 changed files with 25 additions and 12 deletions

View File

@@ -86,17 +86,6 @@ function useProject(id?: number | string) {
},
);
if (String(id) === '5') {
const url = URL.createObjectURL(projectFile);
const link = document.createElement('a');
link.href = url;
link.download = projectFile.name;
document.body.appendChild(link);
link.click();
link.remove();
URL.revokeObjectURL(url);
}
return {
pads,
scenes,