fix: Remove nested try block and simplify error handling in trade update
This commit is contained in:
parent
a99deffa9f
commit
b71a3eef38
@ -271,7 +271,6 @@ def trading_journal_page():
|
||||
'notes': new_notes
|
||||
}
|
||||
|
||||
try:
|
||||
update_trade(trade_id, updates)
|
||||
st.success("Trade updated successfully!")
|
||||
st.experimental_rerun()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user