Skip to content

Commit

Permalink
Merge pull request #1240 from dlabrecq/import
Browse files Browse the repository at this point in the history
Replace require with import
  • Loading branch information
dlabrecq authored Sep 10, 2024
2 parents 569ad98 + 14ba42a commit df20e4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/AppEntry.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Todo: Uncomment for use with non-shared PatternFly packages
// import '@patternfly/patternfly/patternfly.css';
import '@patternfly/patternfly/patternfly-addons.css';

import IntlProvider from '@redhat-cloud-services/frontend-components-translations/Provider';
import { getLocale } from 'components/i18n';
import React from 'react';
import { Provider } from 'react-redux';

// Todo: Uncomment for use with non-shared PatternFly packages
require.resolve('@patternfly/patternfly/patternfly.css');
require.resolve('@patternfly/patternfly/patternfly-addons.css');

// eslint-disable-next-line no-restricted-imports
import messages from '../locales/data.json';
import App from './App';
Expand Down

0 comments on commit df20e4a

Please sign in to comment.