Skip to content

Commit

Permalink
Fix @patternfly/react-icons import paths
Browse files Browse the repository at this point in the history
Change from explicit @patternfly/react-icons/dist/esm/icons/* to
@patternfly/react-icons due to import resolution in RPM build.
  • Loading branch information
bastian-src committed May 9, 2024
1 parent d6389bd commit 34d6542
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ import {
Tooltip,
} from '@patternfly/react-core';

import UserIcon from '@patternfly/react-icons/dist/esm/icons/user-icon';
import UsersIcon from '@patternfly/react-icons/dist/esm/icons/users-icon';
import ClusterIcon from '@patternfly/react-icons/dist/esm/icons/cluster-icon';
import SyncAltIcon from '@patternfly/react-icons/dist/esm/icons/sync-alt-icon';
import {
UserIcon,
UsersIcon,
ClusterIcon,
SyncAltIcon,
} from '@patternfly/react-icons';

import { translate as __ } from 'foremanReact/common/I18n';
import { dispatchAPICallbackToast } from '../../../../api_helper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ProgressMeasureLocation,
Tooltip,
} from '@patternfly/react-core';
import SyncAltIcon from '@patternfly/react-icons/dist/esm/icons/sync-alt-icon';
import SyncAltIcon from '@patternfly/react-icons';

import { translate as __ } from 'foremanReact/common/I18n';

Expand Down

0 comments on commit 34d6542

Please sign in to comment.