Skip to content

Commit bd2c201

Browse files
committed
fix: lint errors and improve logic
1 parent f8d335b commit bd2c201

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/components/billing/alerts/selectProjectCloud.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
onMount(() => {
2727
const currentOrgId = page.data.organization?.$id;
2828
projects =
29-
page.data.currentOrgId === currentOrgId
30-
? page.data.allProjects?.projects || []
31-
: [];
29+
page.data.currentOrgId === currentOrgId ? page.data.allProjects?.projects || [] : [];
3230
});
3331
3432
let projectsToArchive = $derived(

0 commit comments

Comments
 (0)