2 Commits

Author SHA1 Message Date
4916a2fc7b Merge branch 'projectpage' 2026-03-10 21:01:36 +01:00
b0fb481cf2 gitignore worktrees 2026-03-10 21:00:39 +01:00
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -46,4 +46,4 @@ yarn-error.log*
.idea .idea
# clerk configuration (can include secrets) # clerk configuration (can include secrets)
/.clerk/ /.clerk/
.claudesession .worktrees

View File

@@ -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) }) const deleteMutation = trpc.techStack.delete.useMutation({ onSuccess: makeOnSuccess('delete', form, undefined, path, router) })
function onSubmit(values: z.infer<typeof schemas.insert>) { function onSubmit(values: z.infer<typeof schemas.insert>) {
setSubmitted(true) setSubmitted(true)
id ? params.entity ?
updateMutation.mutate(values) : updateMutation.mutate(values) :
createMutation.mutate(values); createMutation.mutate(values);
} }