Skip to content
Snippets Groups Projects
Commit c09da2ac authored by Zheng Meyer's avatar Zheng Meyer
Browse files

clear formData and queryMap after change of uri

parent f1507e49
No related branches found
No related tags found
1 merge request!5Esap gui dev
......@@ -44,6 +44,8 @@ export default function QueryCatalogs() {
}
return () => {
console.log("cleaned up");
queryMap.clear();
setFormData();
setConfigName(defaultConf);
};
}, [uri]);
......
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