Skip to content

[pull] main from adobe:main#426

Merged
pull[bot] merged 1 commit into
code:mainfrom
adobe:main
Jun 21, 2026
Merged

[pull] main from adobe:main#426
pull[bot] merged 1 commit into
code:mainfrom
adobe:main

Conversation

@pull

@pull pull Bot commented Jun 21, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

The empty state example for S2 TableView had two `- begin highlight -`
markers around a single block (one before `<TableBody>` and a second,
redundant one inside the opening tag) but only one `- end highlight -`.

The code highlighter in `Code.tsx` (`lines()`) starts a new highlight
grouping on each `begin` marker and resets the current line, with no
guard for an already-open grouping. The second `begin` therefore
discarded the already-accumulated `<TableBody` line, so the rendered
example (and the StackBlitz/copy/download export, which reads the same
rendered code) was missing the `<TableBody>` opening tag, producing
invalid JSX.

Removing the redundant inner marker leaves the canonical single
begin/end pair so the full `<TableBody ... renderEmptyState>` tag renders
and the example compiles in StackBlitz.

Closes #10231

Co-authored-by: Patrick Wehbe <patrick.wehbe.applications@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Jun 21, 2026
@pull pull Bot added the ⤵️ pull label Jun 21, 2026
@pull
pull Bot merged commit 30a5dca into code:main Jun 21, 2026
@github-actions github-actions Bot added the S2 label Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants