Skip to content

Commit ea91f65

Browse files
committed
Remove console log
1 parent c2b1a40 commit ea91f65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/User/UserRegistration.component.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@ const UserRegistration = () => {
3232

3333
const customer = response.data?.registerCustomer?.customer;
3434
if (customer) {
35-
console.log('Customer registration successful:', customer);
3635
setRegistrationCompleted(true);
3736
} else {
3837
throw new Error('Failed to register customer');
3938
}
4039
} catch (err: unknown) {
41-
const error = err as ApolloError;
42-
console.error('Registration error:', error);
40+
console.error('Registration error');
4341
}
4442
};
4543

0 commit comments

Comments
 (0)