mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 06:56:59 +00:00
add null return to login
This commit is contained in:
parent
7a8d65b045
commit
3abb486452
@ -27,7 +27,6 @@ export const handler: MutationHook<any> = {
|
|||||||
|
|
||||||
setCustomerToken(authReturn.token)
|
setCustomerToken(authReturn.token)
|
||||||
setCustomerRoute(authReturn.customer)
|
setCustomerRoute(authReturn.customer)
|
||||||
return null
|
|
||||||
},
|
},
|
||||||
useHook:
|
useHook:
|
||||||
({ fetch }) =>
|
({ fetch }) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user