File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed
src/routes/(console)/onboarding/create-project Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change 9797 class =" u-only-dark"
9898 alt =" Appwrite Logo" />
9999 <Card .Base variant =" primary" padding =" l" >
100- <CreateProject
101- showTitle
102- bind:projectName
103- bind:id ={projectId }
104- bind:region ={projectRegion }
105- regions ={$regionsStore ?.regions }>
106- {#snippet submit ()}
107- <Layout .Stack direction =" row" justifyContent =" flex-end" >
108- <Button .Button
109- on:click ={createProject }
110- type =" submit"
111- variant =" primary"
112- size =" s" >
113- Create
114- </Button .Button >
115- </Layout .Stack >
116- {/ snippet }
117- </CreateProject >
100+ <form on:submit |preventDefault ={createProject }>
101+ <CreateProject
102+ showTitle
103+ bind:projectName
104+ bind:id ={projectId }
105+ bind:region ={projectRegion }
106+ regions ={$regionsStore ?.regions }>
107+ {#snippet submit ()}
108+ <Layout .Stack direction =" row" justifyContent =" flex-end" >
109+ <Button .Button type =" submit" variant =" primary" size =" s" >
110+ Create
111+ </Button .Button >
112+ </Layout .Stack >
113+ {/ snippet }
114+ </CreateProject >
115+ </form >
118116 </Card .Base >
119117 {/if }
120118</div >
You can’t perform that action at this time.
0 commit comments