adrianpierce commited on
Commit
0cde4e0
·
1 Parent(s): 627c2c0

Update pages/2_Saved_Recipes.py

Browse files
Files changed (1) hide show
  1. pages/2_Saved_Recipes.py +1 -1
pages/2_Saved_Recipes.py CHANGED
@@ -39,7 +39,7 @@ for recipe in recipes_filtered:
39
  if st.session_state.admin == True:
40
  st.write('')
41
  st.write(recipe['file'])
42
- with st.button("Delete"):
43
  if os.path.exists(f"/data/{recipe['file']}"):
44
  os.remove(f"/data/{recipe['file']}")
45
 
 
39
  if st.session_state.admin == True:
40
  st.write('')
41
  st.write(recipe['file'])
42
+ if st.button("Delete"):
43
  if os.path.exists(f"/data/{recipe['file']}"):
44
  os.remove(f"/data/{recipe['file']}")
45