slider
This commit is contained in:
@@ -208,9 +208,9 @@ export const useCreateOrderForm = () => {
|
||||
})
|
||||
}
|
||||
|
||||
const registerNewCustomer = async (): Promise<string | null> => {
|
||||
const registerNewCustomer = async (): Promise<string | undefined> => {
|
||||
if (!isNewCustomer) {
|
||||
return customerUserId
|
||||
return customerUserId ?? undefined
|
||||
}
|
||||
|
||||
const response = await createUser({
|
||||
|
||||
Reference in New Issue
Block a user