Skip to content

Commit b61452d

Browse files
committed
Don't pass sidebar twice to navbar_page
1 parent 1ae8479 commit b61452d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shiny/ui/_page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ def page_auto(
547547
# TODO: change page_navbar() to remove `sidebar` and accept a sidebar as a
548548
# *arg.
549549
page_fn = page_navbar # pyright: ignore[reportGeneralTypeIssues]
550+
args = tuple([x for x in args if x not in sidebars])
550551
kwargs["sidebar"] = sidebars[0]
551552

552553
else:

0 commit comments

Comments
 (0)