use ExternalLink components for external links (#10758)
* use ExternalLink components for external links * test * strict
This commit is contained in:
parent
42e6c9839c
commit
37b7dfe943
13 changed files with 281 additions and 47 deletions
|
@ -28,6 +28,7 @@ import StyledRadioButton from "../elements/StyledRadioButton";
|
|||
import TextWithTooltip from "../elements/TextWithTooltip";
|
||||
import withValidation, { IFieldState, IValidationResult } from "../elements/Validation";
|
||||
import { ValidatedServerConfig } from "../../../utils/ValidatedServerConfig";
|
||||
import ExternalLink from "../elements/ExternalLink";
|
||||
|
||||
interface IProps {
|
||||
title?: string;
|
||||
|
@ -236,9 +237,13 @@ export default class ServerPickerDialog extends React.PureComponent<IProps, ISta
|
|||
</AccessibleButton>
|
||||
|
||||
<h2>{_t("Learn more")}</h2>
|
||||
<a href="https://matrix.org/faq/#what-is-a-homeserver%3F" target="_blank" rel="noreferrer noopener">
|
||||
<ExternalLink
|
||||
href="https://matrix.org/faq/#what-is-a-homeserver%3F"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
{_t("About homeservers")}
|
||||
</a>
|
||||
</ExternalLink>
|
||||
</form>
|
||||
</BaseDialog>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue