Ошибки исправлены

This commit is contained in:
Александр Сироткин 2022-01-25 02:00:07 +05:00
parent 183017a72d
commit b1e4fe05c2
2 changed files with 13 additions and 10 deletions

View File

@ -1,4 +1,4 @@
import { HTMLAttributes, ReactNode } from 'react'
import { HTMLAttributes } from 'react'
import Loader from './Loader'

View File

@ -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 (
<Layout>
<Menu
@ -114,3 +115,5 @@ export default function Well() {
</Layout>
)
}
export default Well