mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 18:19:50 +00:00
codestyles
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React, { FC, useState, useEffect } from 'react'
|
||||
import { useParams } from 'react-router-dom'
|
||||
import { BlackholeFormDataProvider, TJSON } from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { BlackholeFormProvider, TJSON } from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { useSelector } from 'react-redux'
|
||||
import type { RootState } from 'store/store'
|
||||
import {
|
||||
@@ -83,7 +83,7 @@ export const BlackholeForm: FC<TBlackholeFormProps> = ({ data, customizationId,
|
||||
}
|
||||
|
||||
return (
|
||||
<BlackholeFormDataProvider
|
||||
<BlackholeFormProvider
|
||||
theme={theme}
|
||||
cluster={cluster}
|
||||
urlParams={urlParams}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { FC } from 'react'
|
||||
import { useLocation, useParams } from 'react-router-dom'
|
||||
import { ManageableBreadcrumbsWithDataProvider } from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { ManageableBreadcrumbsProvider } from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { BASE_API_GROUP, BASE_API_VERSION } from 'constants/customizationApiGroupAndVersion'
|
||||
|
||||
type TManageableBreadCrumbsProps = {
|
||||
@@ -30,7 +30,7 @@ export const ManageableBreadcrumbs: FC<TManageableBreadCrumbsProps> = ({ idToCom
|
||||
}, {})
|
||||
|
||||
return (
|
||||
<ManageableBreadcrumbsWithDataProvider
|
||||
<ManageableBreadcrumbsProvider
|
||||
idToCompare={idToCompare}
|
||||
cluster={clusterName}
|
||||
apiGroup={BASE_API_GROUP}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { FC, useState, useEffect } from 'react'
|
||||
import { theme as antdtheme } from 'antd'
|
||||
import { useLocation, useParams } from 'react-router-dom'
|
||||
import { ManageableSidebarWithDataProvider } from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { ManageableSidebarProvider } from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { useSelector } from 'react-redux'
|
||||
import type { RootState } from 'store/store'
|
||||
// import { HEAD_FIRST_ROW, SIDEBAR_CLUSTER_HEIGHT } from 'constants/blocksSizes'
|
||||
@@ -66,7 +66,7 @@ export const ManageableSidebar: FC<TManageableSidebarProps> = ({
|
||||
$colorBorder={token.colorBorder}
|
||||
$maxHeight={height}
|
||||
>
|
||||
<ManageableSidebarWithDataProvider
|
||||
<ManageableSidebarProvider
|
||||
cluster={clusterName}
|
||||
apiGroup={BASE_API_GROUP}
|
||||
apiVersion={BASE_API_VERSION}
|
||||
|
||||
Reference in New Issue
Block a user