From c43222bc0e2c98764f286d59447a9d152c85dc69 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Thu, 14 Nov 2024 10:02:25 +0100 Subject: [PATCH] The emptystate component has been ported to TypeScript Move the file extension imports along --- src/ContainerIntegration.jsx | 2 +- src/ContainerLogs.jsx | 2 +- src/ContainerTerminal.jsx | 2 +- src/ImageSearchModal.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ContainerIntegration.jsx b/src/ContainerIntegration.jsx index 7f1b405ba..36f577cee 100644 --- a/src/ContainerIntegration.jsx +++ b/src/ContainerIntegration.jsx @@ -6,7 +6,7 @@ import { List, ListItem } from "@patternfly/react-core/dist/esm/components/List" import { Tooltip } from "@patternfly/react-core/dist/esm/components/Tooltip"; import cockpit from 'cockpit'; -import { EmptyStatePanel } from "cockpit-components-empty-state.jsx"; +import { EmptyStatePanel } from "cockpit-components-empty-state.tsx"; const _ = cockpit.gettext; diff --git a/src/ContainerLogs.jsx b/src/ContainerLogs.jsx index 91ed0288b..78431da4c 100644 --- a/src/ContainerLogs.jsx +++ b/src/ContainerLogs.jsx @@ -25,7 +25,7 @@ import { Terminal } from "@xterm/xterm"; import PropTypes from 'prop-types'; import cockpit from 'cockpit'; -import { EmptyStatePanel } from "cockpit-components-empty-state.jsx"; +import { EmptyStatePanel } from "cockpit-components-empty-state.tsx"; import * as client from './client.js'; import rest from './rest.js'; diff --git a/src/ContainerTerminal.jsx b/src/ContainerTerminal.jsx index 502b3b1ba..d69ab728b 100644 --- a/src/ContainerTerminal.jsx +++ b/src/ContainerTerminal.jsx @@ -24,7 +24,7 @@ import { Terminal } from "@xterm/xterm"; import PropTypes from 'prop-types'; import cockpit from 'cockpit'; -import { EmptyStatePanel } from "cockpit-components-empty-state.jsx"; +import { EmptyStatePanel } from "cockpit-components-empty-state.tsx"; import { ErrorNotification } from './Notification.jsx'; import * as client from './client.js'; diff --git a/src/ImageSearchModal.jsx b/src/ImageSearchModal.jsx index e2e7feb07..f4d34e99a 100644 --- a/src/ImageSearchModal.jsx +++ b/src/ImageSearchModal.jsx @@ -12,7 +12,7 @@ import { ExclamationCircleIcon } from '@patternfly/react-icons'; import { useDialogs } from "dialogs.jsx"; import cockpit from 'cockpit'; -import { EmptyStatePanel } from "cockpit-components-empty-state.jsx"; +import { EmptyStatePanel } from "cockpit-components-empty-state.tsx"; import { ErrorNotification } from './Notification.jsx'; import * as client from './client.js';