Remove comment and test code

This commit is contained in:
Laurent Nguyen 2021-03-15 17:35:35 +01:00
parent 7e992c2b17
commit faf2e3b559

View File

@ -120,17 +120,8 @@ const App: React.FunctionComponent = () => {
const config = useConfig();
const explorer = useKnockoutExplorer(config?.platform, explorerParams);
// TODO fix this
context.container = explorer;
// const [databases, setDatabases] = useState();
// useEffect(() => {
// fetchDatabases().then((dbs) => {
// setDatabases(dbs)
// explorer.databases(dbs)
// });
// const databases = useDatabases(explorer)
return (
<div className="flexContainer">
<div id="divExplorer" className="flexContainer hideOverflows" style={{ display: "none" }}>