We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b1a40 commit ea91f65Copy full SHA for ea91f65
src/components/User/UserRegistration.component.tsx
@@ -32,14 +32,12 @@ const UserRegistration = () => {
32
33
const customer = response.data?.registerCustomer?.customer;
34
if (customer) {
35
- console.log('Customer registration successful:', customer);
36
setRegistrationCompleted(true);
37
} else {
38
throw new Error('Failed to register customer');
39
}
40
} catch (err: unknown) {
41
- const error = err as ApolloError;
42
- console.error('Registration error:', error);
+ console.error('Registration error');
43
44
};
45
0 commit comments