-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
21 lines (21 loc) · 728 Bytes
/
main.js
File metadata and controls
21 lines (21 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React from 'react';
import ReactDOM from 'react-dom/client';
import { App } from './App.js';
var rootElement = document.getElementById('renderDiv');
if (rootElement) {
var root = ReactDOM.createRoot(rootElement);
root.render(/*#__PURE__*/ _jsxDEV(React.StrictMode, {
children: /*#__PURE__*/ _jsxDEV(App, {}, void 0, false, {
fileName: "main.js",
lineNumber: 9,
columnNumber: 7
}, this)
}, void 0, false, {
fileName: "main.js",
lineNumber: 8,
columnNumber: 5
}, this));
} else {
console.error("Failed to find the root element 'renderDiv'. App cannot be mounted.");
}