Now we just need to add in the functionality to edit our posts.
We will duplicate createPost
since it has most of what we need already and use Prisma to update
our post.
We will also add in the conditional for our button to know if we are creating a new post or updating an existing one.