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