"use strict";(self.webpackChunkhopsworks_front=self.webpackChunkhopsworks_front||[]).push([[5154],{63371:function(n,t,e){var r=e(72791),o=e(201);t.Z=function(n){var t=n.to,e=n.params,i=(0,o.Z)();return(0,r.useEffect)((function(){i(t,e)}),[t,e,i]),null}},95154:function(n,t,e){e.r(t);var r=e(72791),o=e(16871),i=e(76237),s=e(95048),u=e(63221),a=e(63371),c=e(81497),h=e(97030),f=e(1281),p=e(80184),l=function(){var n=(0,s.I0)(),t=(0,o.UO)().id,e=(0,u.jM)(t),l=e.currentData,x=e.isLoading,j=(0,r.useCallback)((function(){n.pythonEnvironment.create({id:+t,version:"3.8"})}),[n,t]);return x?(0,p.jsx)(c.Z,{}):l?(0,p.jsx)(a.Z,{to:f.Z.project.settings.pythonWithEnvironment,params:{version:l.items[0].pythonVersion}}):(0,p.jsxs)(i.xu,{height:"100%",children:[(0,p.jsx)(i.xu,{py:"40px",children:(0,p.jsx)(h.Z,{mainText:"No python environment"})}),(0,p.jsx)(i.xu,{display:"flex",justifyContent:"center",children:(0,p.jsx)(i.zx,{onClick:j,children:"Create Environment"})})]})};t.default=(0,r.memo)(l)}}]);
//# sourceMappingURL=5154.abe7db9f.chunk.js.map