remove console logs and added loader

This commit is contained in:
Chukwumdiebube
2023-01-20 18:29:47 +01:00
parent 11ef4d7442
commit 3ea82b41cf
2 changed files with 7 additions and 6 deletions
+1 -2
View File
@@ -78,7 +78,6 @@ const Main = ({ brdcum }) => {
const onChange = (e) => {
setValues((prev) => ({ ...prev, [e.target.name]: e.target.value }));
};
console.log(values);
// Submitting form
const handleSubmit = async (e) => {
@@ -121,7 +120,7 @@ const Main = ({ brdcum }) => {
}, []);
useEffect(() => {
console.log(myData);
myData
}, [myData]);
return (