diff --git a/src/app.jsx b/src/app.jsx index fd9d3df..c88d25e 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -20,7 +20,6 @@ import cockpit from 'cockpit'; import React from 'react'; import { Alert, Card, CardTitle, CardBody } from '@patternfly/react-core'; -import './app.scss'; const _ = cockpit.gettext; diff --git a/src/index.js b/src/index.js index b718ab6..11a1c9c 100644 --- a/src/index.js +++ b/src/index.js @@ -32,6 +32,7 @@ import { Application } from './app.jsx'; * the overrides will be correctly in the end of our stylesheet. */ import "./lib/patternfly/patternfly-4-overrides.scss"; +import './app.scss'; document.addEventListener("DOMContentLoaded", function () { ReactDOM.render(React.createElement(Application, {}), document.getElementById('app'));