fix query log
This commit is contained in:
@@ -131,7 +131,10 @@ export const Settings = ({ handleSubmit, handleFix, validateForm, config, interf
|
||||
const dnsPortVal = watch('dns.port');
|
||||
|
||||
useEffect(() => {
|
||||
if (!isValid || validateInstallPort(webPortVal) || validateInstallPort(dnsPortVal)) {
|
||||
const webPortError = validateInstallPort(webPortVal);
|
||||
const dnsPortError = validateInstallPort(dnsPortVal);
|
||||
|
||||
if (!isValid || webPortError || dnsPortError) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user