import{j as n,E as r}from"./app-BgLa5dit.js";import{E as a}from"./D1jLVCW-.chunk.js";import{u as l}from"./CKjyFQLY.chunk.js";import"./w68yffRy.chunk.js";import"./CCwkbyVL.chunk.js";function g(i){const{workingLists:o,renameWorkingList:e}=l(i.listId);function s({name:t}){e(i.listId,t),i.closePopup()}const m=o.find(t=>t.id.toString()===i.listId);return n.jsx(r,{title:"Rename working list",closePopup:i.closePopup,children:n.jsx(a,{initialValues:{name:m.name},onSubmit:s,onCancel:i.closePopup,submitText:"Save changes"})})}export{g as RenameWorkbenchView};
//# sourceMappingURL=Bc-fgooH.chunk.js.map
