Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
lkatsikaris committed Apr 16, 2024
1 parent adf0b56 commit 21c2d8f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import React from "react";

Check failure on line 1 in src/index.jsx

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote
import ReactDOM from "react-dom/client";
import ReactDOM from 'react-dom';
import 'core-js/stable';
import 'regenerator-runtime/runtime';

import {
APP_INIT_ERROR, APP_READY, subscribe, initialize,
} from '@edx/frontend-platform';
import { AppProvider, ErrorPage } from '@edx/frontend-platform/react';
import ReactDOM from 'react-dom';

import Header from '@edx/frontend-component-header';
import Footer from '@edx/frontend-component-footer';
Expand All @@ -17,16 +16,14 @@ import ExamplePage from './example/ExamplePage';
import './index.scss';

subscribe(APP_READY, () => {
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
ReactDOM.render(

Check failure on line 19 in src/index.jsx

View workflow job for this annotation

GitHub Actions / test

Unexpected newline after '('
<React.StrictMode>
<AppProvider>
<Header />
<ExamplePage />
<Footer />
</AppProvider>
</React.StrictMode>
)
</React.StrictMode>, document.getElementById("root"))

Check failure on line 26 in src/index.jsx

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote

Check failure on line 26 in src/index.jsx

View workflow job for this annotation

GitHub Actions / test

Missing semicolon
});

subscribe(APP_INIT_ERROR, (error) => {
Expand Down

0 comments on commit 21c2d8f

Please sign in to comment.