diff --git a/src/components/modalWindows/EquipmentDetails.jsx b/src/pages/Smbo/EquipmentDetails.jsx similarity index 95% rename from src/components/modalWindows/EquipmentDetails.jsx rename to src/pages/Smbo/EquipmentDetails.jsx index c0e7946..12a50fa 100644 --- a/src/components/modalWindows/EquipmentDetails.jsx +++ b/src/pages/Smbo/EquipmentDetails.jsx @@ -1,6 +1,6 @@ import {Row, Col} from 'antd' +import Documents from '../../components/Documents' import '../../styles/equipment_details.css' -import Documents from '../Documents' export default function EquipmentDetails({id, equipmentTimers, equipmentSensors}) { let stateOfEquipmentDetails = equipmentTimers.map(timer => { diff --git a/src/components/SmboPlate.jsx b/src/pages/Smbo/SmboPlate.jsx similarity index 98% rename from src/components/SmboPlate.jsx rename to src/pages/Smbo/SmboPlate.jsx index 15f01dd..08aec9f 100644 --- a/src/components/SmboPlate.jsx +++ b/src/pages/Smbo/SmboPlate.jsx @@ -1,5 +1,5 @@ import {Modal} from 'antd' -import '../styles/smbo.css' +import '../../styles/smbo.css' import {useState} from "react"; diff --git a/src/pages/Smbo.jsx b/src/pages/Smbo/index.jsx similarity index 98% rename from src/pages/Smbo.jsx rename to src/pages/Smbo/index.jsx index dd101f0..3e9d628 100644 --- a/src/pages/Smbo.jsx +++ b/src/pages/Smbo/index.jsx @@ -1,8 +1,6 @@ -import SmboPlate from '../components/SmboPlate' -import '../styles/smbo.css' -import EquipmentDetails from '../components/modalWindows/EquipmentDetails' -import ActiveMessagesOnline from "./TelemetryView/ActiveMessagesOnline" -// import RigPlan from "../images/smbo/RigPlan2.png" +import SmboPlate from './SmboPlate' +import EquipmentDetails from './EquipmentDetails' +import '../../styles/smbo.css' const platesData = [ { @@ -608,7 +606,7 @@ export default function Smbo() { {/* План*/} {/**/}
- + сообщения