From 65b670c9d77b8a93ca5b8363ae3f623754fc7624 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 25 Nov 2021 01:29:18 +0000 Subject: [PATCH] fix: Fixed bug for values <1 --- pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.js b/pages/index.js index 548b940..00351ef 100644 --- a/pages/index.js +++ b/pages/index.js @@ -223,7 +223,7 @@ export default function Home({ listOfElementsDefault }) { let nextStepSlider = ({ posList, binaryComparisons, sliderValue, element1, element2 }) => { if (sliderValue < 1) { // sliderValue = -sliderValue; - [element1, element2] = [element2, element1] + // [element1, element2] = [element2, element1] } console.log(`posList@nextStepSlider:`) console.log(posList)