refactors

This commit is contained in:
Chad Curtis committed 2025-09-20 05:47:17 +00:00
1 parent 6f4aa264eb
commit f4ccc2d924
6 files changed
+349 -45

No files matched your search

+2 -2
View File
@@ -123,10 +123,10 @@ export function ProjectSidebar({
}
};
const handleImportZip = async (file: File, customId?: string, overwrite = false) => {
const handleImportZip = async (file: File, overwrite = false, projectId?: string) => {
try {
// Import project from zip file
const project = await projectsManager.importProjectFromZip(file, customId, overwrite);
const project = await projectsManager.importProjectFromZip(file, projectId, overwrite);
// Show success toast
toast({