Fix add instance link grammar (#664)

* Fix add instance link grammar

* Add changelog
This commit is contained in:
Justin Carlson 2023-03-20 14:48:18 -04:00 committed by GitHub
parent 7f34d69cfa
commit 8071243696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

1
changelog.d/664.misc Normal file
View File

@ -0,0 +1 @@
Small grammar fix.

View File

@ -109,14 +109,14 @@ export function ConnectionSearch({
let addNewInstance = null;
if (instances?.length === 0) {
if (addNewInstanceUrl) {
addNewInstance = <p> You have not connected any {serviceName} instances.
<a href={addNewInstanceUrl} rel="noreferrer" target="_blank">Add a new instances</a>.
addNewInstance = <p> You have not connected any {serviceName} instances.<br />
<a href={addNewInstanceUrl} rel="noreferrer" target="_blank">Add a new instance</a>
</p>;
} else {
addNewInstance = <p> You have not connected any {serviceName} instances.</p>;
}
} else if (addNewInstanceUrl) {
addNewInstance = <p><a href={addNewInstanceUrl} rel="noreferrer" target="_blank">Add a new instances</a>.</p>
addNewInstance = <p><a href={addNewInstanceUrl} rel="noreferrer" target="_blank">Add a new instance</a></p>
} // otherwise, empty
return <div>