Apply better code formatting
[arvados-workbench2.git] / src / views-components / data-explorer / data-explorer.tsx
index f00664fa56d22debc892ebd6127a21da0eea94b0..d9d1fc4acd86275d7ffc8f7f515f39b1b5c95be0 100644 (file)
@@ -5,6 +5,8 @@
 import { connect } from "react-redux";
 import { RootState } from "../../store/store";
 import DataExplorer from "../../components/data-explorer/data-explorer";
-import { get } from "../../store/data-explorer/data-explorer-reducer";
+import { getDataExplorer } from "../../store/data-explorer/data-explorer-reducer";
 
-export default connect((state: RootState, props: { id: string }) => get(state.dataExplorer, props.id))(DataExplorer);
+export default connect((state: RootState, props: { id: string }) =>
+    getDataExplorer(state.dataExplorer, props.id)
+)(DataExplorer);