mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Fix add instance link grammar (#664)
* Fix add instance link grammar * Add changelog
This commit is contained in:
parent
7f34d69cfa
commit
8071243696
1
changelog.d/664.misc
Normal file
1
changelog.d/664.misc
Normal file
@ -0,0 +1 @@
|
||||
Small grammar fix.
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user