diff --git a/src/components/User/page.jsx b/src/components/User/page.jsx index 17b13dd..20468dc 100644 --- a/src/components/User/page.jsx +++ b/src/components/User/page.jsx @@ -15,7 +15,7 @@ const User = () => { const handleSubmit = (e) => { e.preventDefault(); // handle form submission here - + console.log(userInfo); setIsOpen(false); }; diff --git a/src/index.js b/src/index.js index 902eb7c..770ee7d 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ const root = ReactDOM.createRoot(document.getElementById("root")); root.render( - , + ); // If you want to start measuring performance in your app, pass a function