Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

improve error message

Anibal Svarcasb1cf85f93870
diff --git a/src/components/atomic-crm/login/SignupPage.tsx b/src/components/atomic-crm/login/SignupPage.tsx
index 8dcbbf77..61665f51 100644
--- a/src/components/atomic-crm/login/SignupPage.tsx
+++ b/src/components/atomic-crm/login/SignupPage.tsx
@@ -42,8 +42,8 @@ export const SignupPage = () => {
});
});
},
- onError: () => {
- notify("An error occurred. Please try again.");
+ onError: error => {
+ notify(error.message);
},
});