import{a as o}from"./redux-vendor-B7uoacJt.js";import{L as n,j as u,h as s}from"./index-Vwb3Bce5.js";const l=o("PROVINCE_POLICY_EDIT_KILLHOUSE",async(t,{dispatch:r})=>{try{r(n());const{data:a,status:e}=await u.put("kill_house/0/",t);return r(s()),{data:a,status:e}}catch(a){return r(s()),{error:a.response.data.result}}});export{l as p};
