|
1
|
|
|
import{P as s}from"./q-BTttGwnV.js";import{k as a,c as l,C as r,j as p,K as i}from"./q-grzRItSl.js";import{r as c}from"./q-mmDR2EFA.js";import{useRecipesDetails as u,useEdit as m}from"./q-ZtF1IhuZ.js";import"./q-yQnnJER4.js";import"./q-5LSN8IXO.js";const j=()=>{a();const e=u(),t=l(c),n=m();if(!e.value)return r("div",null,null,$localize`pages.recipeEdit.notfound`,1,"4Q_0");const o=t.all[e.value.recipeId];return o?p(s,{onSave:n,recipe:o,[i]:{onSave:i}},3,"4Q_2"):r("div",null,null,$localize`pages.recipeEdit.notfound`,1,"4Q_1")};export{j as s_a76qs4N3KmI}; |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.