mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 19:51:23 +00:00
Updates
This commit is contained in:
@@ -15,8 +15,6 @@ import { setCustomerToken } from '@framework/utils'
|
||||
export default useLogin as UseLogin<typeof handler>
|
||||
|
||||
const getErrorMessage = ({ code, message }: CustomerUserError) => {
|
||||
console.log(code)
|
||||
|
||||
switch (code) {
|
||||
case 'UNIDENTIFIED_CUSTOMER':
|
||||
message = 'Cannot find an account that matches the provided credentials'
|
||||
|
Reference in New Issue
Block a user