Fix selector

This commit is contained in:
ArtemBaskal 2020-08-13 18:15:14 +03:00
parent 8ea1e64c7b
commit a1ca7862f8

View File

@ -15,7 +15,7 @@ const Upstream = () => {
processingSetConfig,
} = useSelector((state) => state.dnsConfig, shallowEqual);
const { processingTestUpstream } = ((state) => state.settings, shallowEqual);
const { processingTestUpstream } = useSelector((state) => state.settings, shallowEqual);
const handleSubmit = (values) => {
dispatch(setDnsConfig(values));