diff --git a/solara/website/pages/documentation/components/layout/vbox.py b/solara/website/pages/documentation/components/layout/vbox.py index 4c9e70463..541318817 100644 --- a/solara/website/pages/documentation/components/layout/vbox.py +++ b/solara/website/pages/documentation/components/layout/vbox.py @@ -11,9 +11,7 @@ @solara.component def Page(): - with solara.VBox() as main: - colors = "green red orange brown yellow pink".split() - with solara.VBox(): - for color in colors: - ColorCard(color, color) - return main + colors = "green red orange brown yellow pink".split() + with solara.VBox(): + for color in colors: + ColorCard(color, color)