diff --git a/src/features/machines/components/MachinesComponent.js b/src/features/machines/components/MachinesComponent.js deleted file mode 100644 index 34b1344..0000000 --- a/src/features/machines/components/MachinesComponent.js +++ /dev/null @@ -1,13 +0,0 @@ -import React from "react"; -import PropTypes from "prop-types"; -import MachinesList from "./MachinesList"; - -const MachinesComponent = ({ network }) => { - return ; -}; - -MachinesComponent.propTypes = { - network: PropTypes.object.isRequired -}; - -export default MachinesComponent; diff --git a/src/features/machines/components/MachinesContainer.js b/src/features/machines/components/MachinesContainer.js index 64afb0d..e944182 100644 --- a/src/features/machines/components/MachinesContainer.js +++ b/src/features/machines/components/MachinesContainer.js @@ -4,7 +4,7 @@ import { ApplicationDispatchContext } from "../../../state/ApplicationContexts"; import { readMachines } from "../api"; -import MachinesComponent from "./MachinesComponent"; +import MachinesList from "./MachinesList"; const MachinesContainer = () => { const state = useContext(ApplicationStateContext); @@ -26,12 +26,7 @@ const MachinesContainer = () => { } }, [handleReadMachines, state.network.machines.loaded]); - return ( - - ); + return ; }; export default MachinesContainer;