diff --git a/src/streamlit_app.py b/src/streamlit_app.py index 20768e0..898721d 100644 --- a/src/streamlit_app.py +++ b/src/streamlit_app.py @@ -967,7 +967,7 @@ def trading_plan_page(): save_trading_plan(plan) st.success("Trading plan created successfully!") - st.experimental_set_query_params(rerun=True) + st.query_params(rerun=True) except Exception as e: st.error(f"Error creating trading plan: {str(e)}") @@ -1077,7 +1077,7 @@ def trading_plan_page(): update_trading_plan(plan) st.success("Plan updated successfully!") - st.experimental_set_query_params(rerun=True) + st.query_params(rerun=True) except Exception as e: st.error(f"Error updating plan: {str(e)}") @@ -1086,7 +1086,7 @@ def trading_plan_page(): try: delete_trading_plan(plan.id) st.success("Plan deleted successfully!") - st.experimental_set_query_params(rerun=True) + st.query_params(rerun=True) except Exception as e: st.error(f"Error deleting plan: {str(e)}") else: