PageSourceSearch

https://app.fyxer.com/assets/stop-calendar-connection-prompts-Cm_gqJ_a.js

js fyxer.com collected 2026-09-25 20:19:54 UTC 1,604 bytes, 1 lines download raw bytes

1import{r as s,j as r}from"./vendor-react-C5PewRsl.js";import{a8 as a,bT as c,d,C as p}from"./main-DoxpiNgY.js";import{E as n}from"./emailActionPage-CKgyg4H_.js";import{u}from"./vendor-misc-DVk-0spb.js";import"./vendor-runtime-DG-GlVKR.js";import"./index-FFROJYLR.js";import"./vendor-ui-BKWhI8D_.js";import"./vendor-icons-Nh3lIdcn.js";import"./vendor-analytics-aNB2-Vwh.js";import"./vendor-sentry-SKD9L_Jy.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c9731329-6b0b-4e0a-9892-a8a53ed2e332",e._sentryDebugIdIdentifier="sentry-dbid-c9731329-6b0b-4e0a-9892-a8a53ed2e332")}catch{}const x=()=>{const{userMembership:e}=a(),t=e==null?void 0:e.id,o=u({mutationKey:["stopCalendarPrompts",t],mutationFn:async i=>c(d(p.Membership,i),{shouldSendCalendarConnectionPrompts:!1})});if(s.useEffect(()=>{t&&o.mutate(t)},[t]),!t)throw new Error("Can't find your membership to this organization");return s.useEffect(()=>{o.mutate(t)},[t]),o.error?r.jsx(n,{status:"error",icon:"WarningDiamond",title:"We couldn't update your preferences",description:o.error.message}):o.isSuccess?r.jsx(n,{status:"success",icon:"CheckCircle",title:"Email preferences updated",description:"You won't receive calendar connection prompts anymore. You can re-enable this in your settings."}):r.jsx(n,{status:"loading",icon:"ArrowsClockwise",title:"Updating email preferences",description:"Turning off calendar connection prompts…"})};export{x as StopCalendarConnectionPromptsPage};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.