Skip to content

Commit

Permalink
Update ManageGroupsPage.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
laibatool792 committed May 29, 2024
1 parent eca9beb commit ec1d9af
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ export default function ManageGroupsPage() {
);

console.log("CSV data uploaded to MongoDB:", response.status);
alert("CSV successfully uploaded and data stored in MongoDB!");
// TODO: ESLINT ignore; change alerts so unexpected alerts error goes away
// alert("CSV successfully uploaded and data stored in MongoDB!");
} catch (error) {
console.error("Error uploading CSV data:", error);
alert("Error uploading CSV data.");
// alert("Error uploading CSV data.");
}
},
});
Expand Down

0 comments on commit ec1d9af

Please sign in to comment.