Skip to content

Commit

Permalink
Update the "Dynamic items"'s code highlight line. (#3838)
Browse files Browse the repository at this point in the history
The wrong highlight wasted me 1 hour to fix the null error
  • Loading branch information
Choneas authored Oct 5, 2024
1 parent c0fb1bc commit 14cc26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/content/docs/components/select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Select follows the [Collection Components API](https://react-spectrum.adobe.com/
- **Static**: The usage example above shows the static implementation, which can be used when the full list of options is known ahead of time.
- **Dynamic**: The example below can be used when the options come from an external data source such as an API call, or update over time.

<CodeDemo title="Dynamic items" highlightedLines="8" files={selectContent.dynamic} />
<CodeDemo title="Dynamic items" highlightedLines="7" files={selectContent.dynamic} />

### Multiple Selection

Expand Down

0 comments on commit 14cc26f

Please sign in to comment.