Hello
I am trying to update the connectivity status on my streamlit web page. But I come across this issue when I try to update to the error element the element will appear to be faded.
status = st.empty()
if connected():
status.empty()
status.error(“connected to server”)
else:
status.empty()
status.error(“not connected to server”)
Am I doing it correctly?