Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace st.experimental_rerun with st.rerun #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions streamlit_login_auth_ui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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):
Expand Down