diff options
author | 2023-01-31 16:09:02 +0100 | |
---|---|---|
committer | 2023-01-31 16:09:02 +0100 | |
commit | e88e799615844dda43219110376bac91793091bf (patch) | |
tree | 7d390b034e472e3e8f0a3d50679ec8fa89ddfc35 | |
parent | c6cf847bd0b6bef3c51a5710fba5ca43b11e46f9 (diff) | |
download | astro-e88e799615844dda43219110376bac91793091bf.tar.gz astro-e88e799615844dda43219110376bac91793091bf.tar.zst astro-e88e799615844dda43219110376bac91793091bf.zip |
Wrap tag in example error message in code backticks (#6063)
Diffstat (limited to '')
-rw-r--r-- | packages/astro/src/core/errors/errors-data.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index 5a2b75cab..da9f3c1a0 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -419,7 +419,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati * @docs * @message * **Example error messages:**<br/> - * InvalidComponentArgs: Invalid arguments passed to <MyAstroComponent> component. + * InvalidComponentArgs: Invalid arguments passed to `<MyAstroComponent>` component. * @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} />)}`. */ |