Single-item collections display as "1 items" instead of "1 item"
Describe the bug
Input: [1]
Output:
[ 1 Items
0: 1
]
It should say 1 Item instead.
Environment
{ "marimo": "0.9.10", "OS": "Darwin", "OS Version": "23.6.0", "Processor": "arm", "Python Version": "3.11.2", "Binaries": { "Browser": "129.0.6668.101", "Node": "v22.9.0" }, "Dependencies": { "click": "8.1.3", "importlib-resources": "missing", "jedi": "0.18.2", "markdown": "3.5.2", "pygments": "2.14.0", "pymdown-extensions": "10.7", "ruff": "0.0.292", "starlette": "0.36.1", "tomlkit": "0.12.3", "typing-extensions": "4.9.0", "uvicorn": "0.27.0.post1", "websockets": "12.0" }, "Optional Dependencies": { "pandas": "2.0.2", "polars": "0.19.12" } }
Code to reproduce
No response
Looks like an issue with an upstream library: https://github.com/TexteaInc/json-viewer/pull/531
Closed by https://github.com/marimo-team/marimo/pull/3430