From fcc28c19aa5b23c04e79ef9bf4af5292e5208fce Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 25 Nov 2021 16:21:18 +0000 Subject: [PATCH] feat: Added alert after comparisons are completed --- lib/comparisonView.js | 2 +- lib/pushToMongo.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/comparisonView.js b/lib/comparisonView.js index 90da1b5..99ecd96 100644 --- a/lib/comparisonView.js +++ b/lib/comparisonView.js @@ -170,7 +170,7 @@ export default function ComparisonView({ listOfElementsForView }) { console.log(posList) console.log("result@nextStepSimple") console.log(result) - + alert("Comparisons completed. Background work might take a while.") setIsListOrdered(true) setOrderedList(result) diff --git a/lib/pushToMongo.js b/lib/pushToMongo.js index 6ef2acc..6f0424a 100644 --- a/lib/pushToMongo.js +++ b/lib/pushToMongo.js @@ -5,4 +5,5 @@ export async function pushToMongo(data){ data: data }) console.log(response) -} \ No newline at end of file +} +// pushToMongo() \ No newline at end of file