chore: update react imports
Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { screen } from '@testing-library/react';
|
||||
import {
|
||||
mockApis,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import Grid from '@material-ui/core/Grid';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
@@ -40,7 +40,7 @@ import { RequireKubernetesPermissions } from './RequireKubernetesPermissions';
|
||||
type KubernetesContentProps = {
|
||||
entity: Entity;
|
||||
refreshIntervalMs?: number;
|
||||
children?: React.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
export const KubernetesContent = ({
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import React, { ReactNode } from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import {
|
||||
kubernetesClustersReadPermission,
|
||||
kubernetesResourcesReadPermission,
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import {
|
||||
useEntity,
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
import { useEntity } from '@backstage/plugin-catalog-react';
|
||||
import { KubernetesContent } from '../KubernetesContent';
|
||||
import React from 'react';
|
||||
|
||||
export function KubernetesContentPage() {
|
||||
const { entity } = useEntity();
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { compatWrapper } from '@backstage/core-compat-api';
|
||||
import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
||||
import { isKubernetesAvailable } from '../Router';
|
||||
|
||||
@@ -14,9 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react'; // Add this line to import React
|
||||
|
||||
import { PageBlueprint } from '@backstage/frontend-plugin-api';
|
||||
import { PageBlueprint } from '@backstage/frontend-plugin-api'; // Add this line to import React
|
||||
import {
|
||||
compatWrapper,
|
||||
convertLegacyRouteRef,
|
||||
|
||||
Reference in New Issue
Block a user