Skip to content

Commit 1fbab91

Browse files
committed
lint and fixes.
1 parent 83f360e commit 1fbab91

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/routes/(console)/create-organization/+page.svelte

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
!seatsAddon || (seatsAddon.supported ?? false) || (seatsAddon.limit ?? 0) > 1
5151
);
5252
53-
$: if (!canAddMembers && collaborators.length > 0) {
54-
collaborators = [];
55-
}
56-
5753
afterNavigate(({ from }) => {
5854
previousPage = from?.url?.pathname || previousPage;
5955
});
@@ -186,6 +182,12 @@
186182
trackError(e, Submit.OrganizationCreate);
187183
}
188184
}
185+
186+
$effect(() => {
187+
if (!canAddMembers && collaborators.length > 0) {
188+
collaborators = [];
189+
}
190+
});
189191
</script>
190192

191193
<svelte:head>

0 commit comments

Comments
 (0)