Skip to content

Commit 0a11268

Browse files
committed
fix: name browser_ui explicitly for marimo cell export
Marimo does not infer browser_ui from return (browser.ui,); assign before return.
1 parent bc4828b commit 0a11268

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def _(browser):
6666

6767
@app.cell
6868
def _(browser):
69-
return (browser.ui,)
69+
browser_ui = browser.ui
70+
return (browser_ui,)
7071

7172

7273
@app.cell

0 commit comments

Comments
 (0)