1 Commits

Author SHA1 Message Date
0ef0b27c50 fix create techstack form 2026-03-10 21:14:36 +01:00
3 changed files with 27 additions and 11 deletions

2
.gitignore vendored
View File

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

View File

@@ -1,13 +1,29 @@
# My Personal Website
# Create T3 App
## Using:
This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
- nextjs
- trpc
- neon
- uploadthing
- drizzle
- gsap
- openai
## What's next? How do I make an app with this?
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our [Discord](https://t3.gg/discord) and ask for help.
- [Next.js](https://nextjs.org)
- [NextAuth.js](https://next-auth.js.org)
- [Prisma](https://prisma.io)
- [Drizzle](https://orm.drizzle.team)
- [Tailwind CSS](https://tailwindcss.com)
- [tRPC](https://trpc.io)
## Learn More
To learn more about the [T3 Stack](https://create.t3.gg/), take a look at the following resources:
- [Documentation](https://create.t3.gg/)
- [Learn the T3 Stack](https://create.t3.gg/en/faq#what-learning-resources-are-currently-available) — Check out these awesome tutorials
You can check out the [create-t3-app GitHub repository](https://github.com/t3-oss/create-t3-app) — your feedback and contributions are welcome!
## How do I deploy this?
Follow our deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.

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) })
function onSubmit(values: z.infer<typeof schemas.insert>) {
setSubmitted(true)
params.entity ?
id ?
updateMutation.mutate(values) :
createMutation.mutate(values);
}