Update upstream_dns_help
This commit is contained in:
@@ -11,11 +11,16 @@ import { DNS_REQUEST_OPTIONS, FORM_NAME, UPSTREAM_CONFIGURATION_WIKI_LINK } from
|
||||
import { testUpstream } from '../../../../actions';
|
||||
import { removeEmptyLines } from '../../../../helpers/helpers';
|
||||
|
||||
const Title = () => <label className="form__label" htmlFor="upstream_dns">
|
||||
<Trans components={[<a href={UPSTREAM_CONFIGURATION_WIKI_LINK} key="0">link</a>]}>
|
||||
upstream_dns_help
|
||||
</Trans>
|
||||
</label>;
|
||||
const Title = () => {
|
||||
const components = {
|
||||
a: <a href={UPSTREAM_CONFIGURATION_WIKI_LINK} target="_blank"
|
||||
rel="noopener noreferrer" />,
|
||||
};
|
||||
|
||||
return <div className="form__label" htmlFor="upstream_dns">
|
||||
<Trans components={components}>upstream_dns_help</Trans>
|
||||
</div>;
|
||||
};
|
||||
|
||||
const getInputFields = (upstream_dns_file) => [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user