Fix weird periods in NoMatchingRenderer
error (#7110)
* Fix weird periods in `NoMatchingRenderer` error * Add changeset
This commit is contained in:
parent
410428672e
commit
fc52681ba2
2 changed files with 8 additions and 3 deletions
5
.changeset/ninety-sheep-knock.md
Normal file
5
.changeset/ninety-sheep-knock.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix formatting in the `NoMatchingRenderer` error message.
|
|
@ -167,10 +167,10 @@ export const AstroErrorData = {
|
||||||
|
|
||||||
${
|
${
|
||||||
validRenderersCount > 0
|
validRenderersCount > 0
|
||||||
? `There ${plural ? 'are.' : 'is.'} ${validRenderersCount} renderer${
|
? `There ${plural ? 'are' : 'is'} ${validRenderersCount} renderer${
|
||||||
plural ? 's.' : ''
|
plural ? 's' : ''
|
||||||
} configured in your \`astro.config.mjs\` file,
|
} configured in your \`astro.config.mjs\` file,
|
||||||
but ${plural ? 'none were.' : 'it was not.'} able to server-side render \`${componentName}\`.`
|
but ${plural ? 'none were' : 'it was not'} able to server-side render \`${componentName}\`.`
|
||||||
: `No valid renderer was found ${
|
: `No valid renderer was found ${
|
||||||
componentExtension
|
componentExtension
|
||||||
? `for the \`.${componentExtension}\` file extension.`
|
? `for the \`.${componentExtension}\` file extension.`
|
||||||
|
|
Loading…
Reference in a new issue