From bce69809bc1c29390063d5cf983fdc222d15cc9d Mon Sep 17 00:00:00 2001 From: ArtemBaskal Date: Thu, 10 Sep 2020 12:54:36 +0300 Subject: [PATCH] Change back div to label --- client/src/components/Settings/Dns/Upstream/Form.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/components/Settings/Dns/Upstream/Form.js b/client/src/components/Settings/Dns/Upstream/Form.js index a825d3d7..1a81d60a 100644 --- a/client/src/components/Settings/Dns/Upstream/Form.js +++ b/client/src/components/Settings/Dns/Upstream/Form.js @@ -11,21 +11,23 @@ import { DNS_REQUEST_OPTIONS, FORM_NAME, UPSTREAM_CONFIGURATION_WIKI_LINK } from import { testUpstream } from '../../../../actions'; import { removeEmptyLines } from '../../../../helpers/helpers'; +const UPSTREAM_DNS_NAME = 'upstream_dns'; + const Title = () => { const components = { a: , }; - return
+ return
; + ; }; const getInputFields = (upstream_dns_file) => [ { getTitle: Title, - name: 'upstream_dns', + name: UPSTREAM_DNS_NAME, type: 'text', value: 'test', component: renderTextareaField,