()
| 37 | onVerification.current = onVerifiedProps; |
| 38 | |
| 39 | const onVerified = () => { |
| 40 | if (onVerification?.current) { |
| 41 | onVerification.current(); |
| 42 | onVerification.current = undefined; |
| 43 | } else { |
| 44 | displayToast('Session successfully verified!'); |
| 45 | } |
| 46 | }; |
| 47 | |
| 48 | return openModal({ |
| 49 | type: LazyModal.VerifySession, |
no test coverage detected