Skip to content

Commit

Permalink
fix: change in display error
Browse files Browse the repository at this point in the history
  • Loading branch information
LordHarsh committed Sep 22, 2024
1 parent c9c005f commit a3aef3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/lib/submitAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function register(
} catch (error: any) {
console.error(
"Registration failed:",
error?.response?.data?.message?.error_description || error.response.data.error.issues[0].message
error?.response?.data?.message?.error || error.response.data.error.issues[0].message
);
// console.error(error.response.data.error.issues[0].path);
return error.response.data;
Expand Down

0 comments on commit a3aef3c

Please sign in to comment.