import{aP as u,l as d,o as p,j as t,h as l,i as E,aQ as T}from"./app-BgLa5dit.js";import{T as i}from"./BY4vH9zH.chunk.js";import{E as f}from"./BNklC_3n.chunk.js";import"./w68yffRy.chunk.js";function A(e){const n=u(),s=d(),a=p(i.theme(e.id));function c(o,r){const m=()=>{s.success("Successfully updated theme")},h=()=>{s.error("Failed to update theme")};T(n,i.updateTheme(e.id,o,m,h,r))}return a.data?t.jsx(f,{theme:a.data,saveTheme:c,actions:[{label:"Delete theme",className:"btn btn-danger",button:!0,appLink:{application:E.THEMES,action:l.Themes.DELETE_THEME,args:[e.id]}}]}):t.jsx(t.Fragment,{})}export{A as EditThemeView};
//# sourceMappingURL=BnSy4CVw.chunk.js.map
