Skip to content

Commit

Permalink
Update page.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xusenlinzy authored Sep 7, 2023
1 parent 56dcd83 commit 97d725a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamlit-demo/streamlit_gallery/utils/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def page_group(param):
key = f"{__name__}_page_group_{param}"

if key not in st.session_state:
st.session_state[key] = PageGroup(param)
st.session_state.update({key: PageGroup(param)})

return st.session_state[key]

Expand Down

0 comments on commit 97d725a

Please sign in to comment.