Skip to content

Commit 72826ef

Browse files
committed
improve
1 parent 90f1516 commit 72826ef

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@
1111
import { page } from '$app/state';
1212
import { toLocaleDateTime } from '$lib/helpers/date';
1313
14-
let { showSelectProject = $bindable(false) } = $props();
15-
let selectedProjects = $state([]);
14+
let {
15+
showSelectProject = $bindable(false),
16+
selectedProjects = []
17+
}: {
18+
showSelectProject: boolean;
19+
selectedProjects: string[];
20+
} = $props();
1621
1722
let projects = $state<Array<Models.Project>>([]);
1823
let error = $state<string | null>(null);

0 commit comments

Comments
 (0)