diff --git a/streamlit_login_auth_ui/widgets.py b/streamlit_login_auth_ui/widgets.py index 739f129..2e4cf24 100644 --- a/streamlit_login_auth_ui/widgets.py +++ b/streamlit_login_auth_ui/widgets.py @@ -116,7 +116,7 @@ def login_widget(self) -> None: self.cookies['__streamlit_login_signup_ui_username__'] = username self.cookies.save() del_login.empty() - st.experimental_rerun() + st.rerun() def animation(self) -> None: @@ -243,7 +243,7 @@ def logout_widget(self) -> None: st.session_state['LOGGED_IN'] = False self.cookies['__streamlit_login_signup_ui_username__'] = '1c9a923f-fb21-4a91-b3f3-5f18e3f01182' del_logout.empty() - st.experimental_rerun() + st.rerun() def nav_sidebar(self):