Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -291,7 +291,7 @@ def display_pet_details(pet_id):
|
|
291 |
return
|
292 |
|
293 |
# Back button
|
294 |
-
if st.button("← Back to Search Results", key=f"
|
295 |
if st.session_state.selected_pet is not None:
|
296 |
st.session_state.selected_pet = None
|
297 |
st.rerun() # Force immediate rerun
|
|
|
291 |
return
|
292 |
|
293 |
# Back button
|
294 |
+
if st.button("← Back to Search Results", key=f"back_search_{pet_id}"):
|
295 |
if st.session_state.selected_pet is not None:
|
296 |
st.session_state.selected_pet = None
|
297 |
st.rerun() # Force immediate rerun
|