transactions
This commit is contained in:
@@ -69,6 +69,8 @@ const StepOtp = ({ phone, slug, code }: Props) => {
|
||||
window.location.href = getRedirectPath()
|
||||
},
|
||||
onError: (error) => {
|
||||
clear()
|
||||
window.location.href = getRedirectPath()
|
||||
toast(extractErrorMessage(error), 'error')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user