@@ -0,0 +1,10 @@
+body {
+ margin: 0;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+#root {
+ padding: 20px;
@@ -1,11 +1,11 @@
import React from 'react';
-import ReactDOM from 'react-dom/client';
+import ReactDOM from 'react-dom';
+import './index.css'; // Make sure this line is present
import App from './App';
-import './index.css';
-const root = ReactDOM.createRoot(document.getElementById('root'));
-root.render(
+ReactDOM.render(
<React.StrictMode>
<App />
- </React.StrictMode>
+ </React.StrictMode>,
+ document.getElementById('root')
);