Skip to content

Commit

Permalink
The emptystate component has been ported to TypeScript
Browse files Browse the repository at this point in the history
Move the file extension imports along
  • Loading branch information
jelly authored and martinpitt committed Nov 14, 2024
1 parent 5dceb33 commit c43222b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ContainerIntegration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/ContainerLogs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/ContainerTerminal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/ImageSearchModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit c43222b

Please sign in to comment.