Rewrote beer by id page comments to load on client

This commit is contained in:
Aaron William Po
2023-04-02 21:50:42 -04:00
parent b69dbc95b4
commit de3964dbfa
8 changed files with 132 additions and 59 deletions

View File

@@ -26,7 +26,7 @@ const useUser = () => {
}
const parsedPayload = GetUserSchema.safeParse(parsed.data.payload);
console.log(parsedPayload);
if (!parsedPayload.success) {
throw new Error(parsedPayload.error.message);
}