import{$ as e,Gt as t}from"./src-DTHkTkyy-Ce1TZuRw.js";import{l as n}from"./connect-BSkeWkEI-BYzoVZOI.js";import{t as r}from"./useTranslation-D1YdOuD6.js";import"react";import{jsx as i}from"react/jsx-runtime";var a=()=>{let a=t(),o=a?.type===`upgradeDrive`,s=o?a.driveId:void 0,{t:c}=r();return i(n,{open:o,onContinue:()=>{console.log(`Upgrade drive: `,s),e()},header:c(`modals.upgradeDrive.header`),body:c(`modals.upgradeDrive.body`),cancelLabel:c(`common.cancel`),continueLabel:c(`common.continue`),onOpenChange:t=>{if(!t)return e()}})};export{a as UpgradeDriveModal};
//# sourceMappingURL=UpgradeDriveModal-CBLALaaQ-CKR-U95x.js.map