Merge branch 'main-dev' into dev-refactor

This commit is contained in:
2025-06-24 15:41:18 +05:30
114 changed files with 591 additions and 273 deletions

View File

@@ -22,7 +22,7 @@ export const restoreTrash = async (organization: string, projectId: string) => {
}
if (!response.ok) {
throw new Error("Failed to fetch trash data");
console.error("Failed to fetch trash data");
}
const data = await response.json();
@@ -30,6 +30,6 @@ export const restoreTrash = async (organization: string, projectId: string) => {
return data;
} catch (error: any) {
console.error("Failed to fetch trash data:", error);
throw new Error(error.message || "Unknown error");
console.error(error.message || "Unknown error");
}
};