File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
components/container/projects
routes/(authenticated)/projects Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7373 + Create Project
7474 </Dialog .Trigger >
7575 <Dialog .Content class =" sm:max-w-[425px]" >
76- <form method =" POST" action =" ?/post " use:enhance >
76+ <form method =" POST" action =" ?/createProject " use:enhance >
7777 <Dialog .Header >
7878 <Dialog .Title >New Project</Dialog .Title >
7979 <Dialog .Description >
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const load: PageServerLoad = async () => {
2323const nameSchema = baseCreateProjectSchema . pick ( { name : true } )
2424
2525export const actions : Actions = {
26- post : async ( { request } ) => {
26+ createProject : async ( { request } ) => {
2727 const form = await superValidate ( request , zod ( createProjectSchema ) )
2828
2929 if ( ! form . valid ) {
You can’t perform that action at this time.
0 commit comments