Skip to content

Commit

Permalink
Don't pass sidebar twice to navbar_page
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Dec 23, 2023
1 parent 1ae8479 commit b61452d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shiny/ui/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ def page_auto(
# TODO: change page_navbar() to remove `sidebar` and accept a sidebar as a
# *arg.
page_fn = page_navbar # pyright: ignore[reportGeneralTypeIssues]
args = tuple([x for x in args if x not in sidebars])
kwargs["sidebar"] = sidebars[0]

else:
Expand Down

0 comments on commit b61452d

Please sign in to comment.