Skip to content
Snippets Groups Projects
Commit 53f7d068 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

FIXME: breaks the rules of hooks!

parent 59b50cc6
No related branches found
No related tags found
1 merge request!109Clean up GUI part I
......@@ -81,7 +81,9 @@ export default function QueryIVOARegistry() {
setConfigName(defaultConf);
};
}, []);
}, []); // eslint-disable-line react-hooks/exhaustive-deps
// FIXME: React Hook useEffect has missing dependencies: 'defaultConf', 'queryMap', 'setConfigName', and 'setFormData'. Either include them or remove the dependency array react-hooks/exhaustive-deps
// FIXME: breaks the rules of hooks!
// load the GUI for this configuration
useEffect(() => {
......@@ -149,7 +151,9 @@ export default function QueryIVOARegistry() {
});
});
});
}, [formData, page, regPage]);
}, [formData, page, regPage]); // eslint-disable-line react-hooks/exhaustive-deps
// FIXME: React Hook useEffect has missing dependencies: 'api_host', 'config.query_schema.name', 'queryMap', 'queryStep', and 'selectedServices'. Either include them or remove the dependency array react-hooks/exhaustive-deps
// FIXME: Break the rules of hooks!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment