"use strict";(globalThis.webpackChunkbooktics=globalThis.webpackChunkbooktics||[]).push([[3970],{91589:(t,s,e)=>{e.r(s),e.d(s,{default:()=>n});var c=e(47143),a=e(11534),i=e(40309);const n=()=>{const{setSettingsState:t}=(0,c.useDispatch)(i.settings),{data:s}=(0,c.useSelect)(t=>t(i.settings).getSettingsState(),[]);return{disconnectStripe:async()=>{try{(await a.A.settings.disconnectStripe()).success&&t({data:{...s,stripe_account_id:!1}})}catch(t){console.log(t)}}}}}}]);