fix: lint errors and improve logic

This commit is contained in:
Harsh Mahajan
2025-08-08 16:44:48 +05:30
parent f8d335b0d1
commit bd2c201dec
@@ -26,9 +26,7 @@
onMount(() => {
const currentOrgId = page.data.organization?.$id;
projects =
page.data.currentOrgId === currentOrgId
? page.data.allProjects?.projects || []
: [];
page.data.currentOrgId === currentOrgId ? page.data.allProjects?.projects || [] : [];
});
let projectsToArchive = $derived(