()
| 235 | }; |
| 236 | |
| 237 | const handleAddDomain = async () => { |
| 238 | const exit = await doGetVerificationLink({ |
| 239 | reactivityKeys: orgDomainWriteKeys, |
| 240 | }); |
| 241 | trackEvent("org_domain_added", { success: Exit.isSuccess(exit) }); |
| 242 | if (Exit.isSuccess(exit)) { |
| 243 | window.open(exit.value.link, "_blank"); |
| 244 | } else { |
| 245 | toast.error("Failed to generate verification link"); |
| 246 | } |
| 247 | }; |
| 248 | |
| 249 | return ( |
| 250 | <section className="mb-2"> |
nothing calls this directly
no test coverage detected