chore: update react imports

Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
Paul Schultz
2025-01-28 10:21:17 -06:00
parent 02981a2377
commit 2e26579e06
1282 changed files with 2776 additions and 3434 deletions
@@ -14,7 +14,6 @@
* limitations under the License.
*/
import React from 'react';
import { screen } from '@testing-library/react';
import {
mockApis,
+2 -2
View File
@@ -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,
-1
View File
@@ -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';
+1 -3
View File
@@ -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,