From b1e4fe05c2342be0c198ee0087c8d1b569aad21a Mon Sep 17 00:00:00 2001 From: goodm2ice Date: Tue, 25 Jan 2022 02:00:07 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LoaderPortal.tsx | 2 +- src/pages/Well.jsx | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/LoaderPortal.tsx b/src/components/LoaderPortal.tsx index 5b3e784..a7078e8 100644 --- a/src/components/LoaderPortal.tsx +++ b/src/components/LoaderPortal.tsx @@ -1,4 +1,4 @@ -import { HTMLAttributes, ReactNode } from 'react' +import { HTMLAttributes } from 'react' import Loader from './Loader' diff --git a/src/pages/Well.jsx b/src/pages/Well.jsx index 535122e..42de06c 100644 --- a/src/pages/Well.jsx +++ b/src/pages/Well.jsx @@ -9,26 +9,27 @@ import { FundProjectionScreenOutlined, } from '@ant-design/icons' import { Link, Redirect, Route, Switch, useParams } from 'react-router-dom' -import { PrivateMenuItem } from '../components/Private' -import TelemetryView from './TelemetryView' -import Messages from './Messages' + +import { PrivateMenuItem } from '@components/Private' + import Report from './Report' import Archive from './Archive' -import Documents from './Documents' import Measure from './Measure' +import Messages from './Messages' +import Documents from './Documents' +import TelemetryView from './TelemetryView' +import { makeMenuItems } from './Documents' import WellOperations from './WellOperations' +import DrillingProgram from './DrillingProgram' import TelemetryAnalysis from './TelemetryAnalysis' -import { makeMenuItems } from './Documents/' -import DrillingProgram from './Documents/DrillingProgram' const { Content } = Layout +const { SubMenu } = Menu -export default function Well() { +export const Well = () => { const { idWell, tab } = useParams() const rootPath = `/well/${idWell}` - const { SubMenu } = Menu - return ( ) } + +export default Well