Sort imports
This commit is contained in:
parent
4821128d0f
commit
6af3331d7a
2 changed files with 7 additions and 4 deletions
|
|
@ -17,11 +17,12 @@
|
||||||
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
|
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import cockpit from 'cockpit';
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Alert } from "@patternfly/react-core/dist/esm/components/Alert/index.js";
|
import { Alert } from "@patternfly/react-core/dist/esm/components/Alert/index.js";
|
||||||
import { Card, CardBody, CardTitle } from "@patternfly/react-core/dist/esm/components/Card/index.js";
|
import { Card, CardBody, CardTitle } from "@patternfly/react-core/dist/esm/components/Card/index.js";
|
||||||
|
|
||||||
|
import cockpit from 'cockpit';
|
||||||
|
|
||||||
const _ = cockpit.gettext;
|
const _ = cockpit.gettext;
|
||||||
|
|
||||||
export class Application extends React.Component {
|
export class Application extends React.Component {
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,14 @@
|
||||||
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
|
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "cockpit-dark-theme";
|
|
||||||
import "patternfly/patternfly-5-cockpit.scss";
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
|
|
||||||
|
import "cockpit-dark-theme";
|
||||||
|
|
||||||
import { Application } from './app.jsx';
|
import { Application } from './app.jsx';
|
||||||
|
|
||||||
|
import "patternfly/patternfly-5-cockpit.scss";
|
||||||
import './app.scss';
|
import './app.scss';
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue