Skip to content

Commit

Permalink
fix(nx-plugin): cleanup styles, minor naming inconsistency, add missi…
Browse files Browse the repository at this point in the history
…ng await (#549)
  • Loading branch information
goetzrobin authored Jul 19, 2023
1 parent 7090493 commit a58cdd6
Show file tree
Hide file tree
Showing 6 changed files with 394 additions and 794 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export const noteRouter = router({
create: publicProcedure
.input(
z.object({
title: z.string(),
note: z.string(),
})
)
.mutation(({ input }) =>
notes.push({
id: noteId++,
note: input.title,
note: input.note,
createdAt: new Date().toISOString(),
})
),
Expand Down
Loading

0 comments on commit a58cdd6

Please sign in to comment.