Wrap tag in example error message in code backticks (#6063)
This commit is contained in:
parent
0c3c216ef2
commit
81f6ece5ca
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
|
||||||
* @docs
|
* @docs
|
||||||
* @message
|
* @message
|
||||||
* **Example error messages:**<br/>
|
* **Example error messages:**<br/>
|
||||||
* InvalidComponentArgs: Invalid arguments passed to <MyAstroComponent> component.
|
* InvalidComponentArgs: Invalid arguments passed to `<MyAstroComponent>` component.
|
||||||
* @description
|
* @description
|
||||||
* Astro components cannot be rendered manually via a function call, such as `Component()` or `{items.map(Component)}`. Prefer the component syntax `<Component />` or `{items.map(item => <Component {...item} />)}`.
|
* Astro components cannot be rendered manually via a function call, such as `Component()` or `{items.map(Component)}`. Prefer the component syntax `<Component />` or `{items.map(item => <Component {...item} />)}`.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue