khulnasoft commited on
Commit
2b9eae8
·
verified ·
1 Parent(s): 11d7263

Create index.tsx

Browse files
Files changed (1) hide show
  1. index.tsx +21 -0
index.tsx ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ /* tslint:disable */
6
+ import '@tailwindcss/browser';
7
+ import React from 'react';
8
+ import ReactDOM from 'react-dom/client';
9
+ import App from './App';
10
+
11
+ const rootElement = document.getElementById('root');
12
+ if (!rootElement) {
13
+ throw new Error('Could not find root element to mount to');
14
+ }
15
+
16
+ const root = ReactDOM.createRoot(rootElement);
17
+ root.render(
18
+ <React.StrictMode>
19
+ <App />
20
+ </React.StrictMode>,
21
+ );