From b61452d565edf0e8895f5fcf80874dac3d1a689a Mon Sep 17 00:00:00 2001 From: Winston Chang Date: Fri, 22 Dec 2023 21:23:02 -0600 Subject: [PATCH] Don't pass sidebar twice to navbar_page --- shiny/ui/_page.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shiny/ui/_page.py b/shiny/ui/_page.py index c7cd08980..008ac9b80 100644 --- a/shiny/ui/_page.py +++ b/shiny/ui/_page.py @@ -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: