feat(cart): Add cart module package (#5982)
* feat: Add CartModule foundation * remove migration * fix ts issue * Create hot-dingos-pay.md
This commit is contained in:
@@ -86,9 +86,7 @@ export const buildCustomOptions = <
|
||||
})
|
||||
}
|
||||
|
||||
if (options?.onSuccess) {
|
||||
return options.onSuccess(...args)
|
||||
}
|
||||
return options?.onSuccess?.(...args)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user