MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / handleAddDomain

Function handleAddDomain

apps/cloud/src/routes/app/org.tsx:237–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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">

Callers

nothing calls this directly

Calls 2

trackEventFunction · 0.90
errorMethod · 0.80

Tested by

no test coverage detected