2 Commits
Author SHA1 Message Date
gregor 4916a2fc7b Merge branch 'projectpage' 2026-03-10 21:01:36 +01:00
gregor b0fb481cf2 gitignore worktrees 2026-03-10 21:00:39 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,4 +46,4 @@ yarn-error.log*
.idea
# clerk configuration (can include secrets)
/.clerk/
.claudesession
.worktrees
@@ -31,7 +31,7 @@ export default function CreateUpdateStackForm(params: { className?: string, enti
const deleteMutation = trpc.techStack.delete.useMutation({ onSuccess: makeOnSuccess('delete', form, undefined, path, router) })
function onSubmit(values: z.infer<typeof schemas.insert>) {
setSubmitted(true)
id ?
params.entity ?
updateMutation.mutate(values) :
createMutation.mutate(values);
}