diff --git a/client/src/components/Settings/Dns/Upstream/index.js b/client/src/components/Settings/Dns/Upstream/index.js index e6fd4e4e..a0a26c00 100644 --- a/client/src/components/Settings/Dns/Upstream/index.js +++ b/client/src/components/Settings/Dns/Upstream/index.js @@ -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));