Skip to content

Commit 79ff29b

Browse files
committed
Fix nullpointer on self-hosted
1 parent 132ee01 commit 79ff29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
alt="Appwrite Logo" />
109109
<Card.Base variant="primary" padding="l">
110110
<CreateProject
111-
regions={data.regions.regions}
111+
regions={isCloud ? data.regions.regions : []}
112112
bind:projectName
113113
bind:id
114114
bind:region

0 commit comments

Comments
 (0)