From d073448801704c8d4afd64d0a77b1bbe976503f7 Mon Sep 17 00:00:00 2001 From: Elamathi Selvan Date: Fri, 18 Oct 2024 23:00:12 +0530 Subject: [PATCH] Update main.jsx --- frontend/src/main.jsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/main.jsx b/frontend/src/main.jsx index 05d8b6e..b9c8290 100644 --- a/frontend/src/main.jsx +++ b/frontend/src/main.jsx @@ -1,11 +1,12 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import App from './App.jsx' +import React from 'react'; +import ReactDOM from 'react-dom/client'; // Ensure you're using React 18 or above +import App from './App.jsx'; // Import your main App component -import "./index.css"; +import "./index.css"; // Import your CSS file +// Create a root and render the App component ReactDOM.createRoot(document.getElementById('root')).render( , -) +);