Rename "user" column in beerPostLikes, add ERD gen

This commit is contained in:
Aaron William Po
2023-02-13 17:05:00 -05:00
parent 249bfdaf5a
commit ea516e91b5
11 changed files with 2885 additions and 19 deletions

View File

@@ -33,6 +33,7 @@ const RegisterUserPage: NextPage<RegisterUserProps> = () => {
const onSubmit = async (data: z.infer<typeof CreateUserValidationSchema>) => {
try {
await sendRegisterUserRequest(data);
reset();
router.push('/', undefined, { shallow: true });
} catch (error) {
setServerResponseError(