Using st.sidebar.empty() streamlit application is going into infinite loop

Hi there,
I’m using st.empty()/st.sidebar.empty() in my application to replace the container element but my application is going into an infinite loop with this.

Hi @pooja97,

Thanks for posting!

Can you share a code snippet so we can reproduce the issue?

Caroline :balloon: