add isSubmitting state to BeerForm

This commit is contained in:
Aaron William Po
2023-02-20 16:12:42 -05:00
parent c818dc6525
commit cee7942f1c
5 changed files with 37 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ export const beerPostQueryResultSchema = z.object({
id: z.string(),
username: z.string(),
}),
createdAt: z.date(),
createdAt: z.coerce.date(),
});
export const beerPostQueryResultArraySchema = z.array(beerPostQueryResultSchema);