Fix selector
This commit is contained in:
parent
8ea1e64c7b
commit
a1ca7862f8
@ -15,7 +15,7 @@ const Upstream = () => {
|
|||||||
processingSetConfig,
|
processingSetConfig,
|
||||||
} = useSelector((state) => state.dnsConfig, shallowEqual);
|
} = useSelector((state) => state.dnsConfig, shallowEqual);
|
||||||
|
|
||||||
const { processingTestUpstream } = ((state) => state.settings, shallowEqual);
|
const { processingTestUpstream } = useSelector((state) => state.settings, shallowEqual);
|
||||||
|
|
||||||
const handleSubmit = (values) => {
|
const handleSubmit = (values) => {
|
||||||
dispatch(setDnsConfig(values));
|
dispatch(setDnsConfig(values));
|
||||||
|
Loading…
Reference in New Issue
Block a user