This commit is contained in:
hamid zarghami
2026-07-04 09:45:24 +03:30
parent bcf03887f1
commit eb9973678c
18 changed files with 762 additions and 20 deletions
+2 -2
View File
@@ -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({