Revert "remove custom id logic"

This reverts commit 588e32a43d.
This commit is contained in:
Chad Curtis committed 2025-09-20 06:57:24 +00:00
1 parent 588e32a43d
commit adeb3bf53f
4 files changed
+27 -22

No files matched your search

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