From 67c8dfe1f7cf0873cbe737ca42964a7e2ca1a560 Mon Sep 17 00:00:00 2001
From: Daniel <you@example.com>
Date: Wed, 18 Sep 2024 22:08:40 +0200
Subject: [PATCH] MergeSort set to default algorithm

---
 src/SortingVisualizer.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SortingVisualizer.jsx b/src/SortingVisualizer.jsx
index 6fe070a..a121af3 100644
--- a/src/SortingVisualizer.jsx
+++ b/src/SortingVisualizer.jsx
@@ -17,7 +17,7 @@ function SortingVisualizer() {
     const [alreadySorted, setColor] = useState();
     const [isSorted, setIsSorted] = useState(false);
     const [sortSpeed, setSortSpeed] = useState('40');
-    const [Algo, setAlgo] = useState('BubbleSort');
+    const [Algo, setAlgo] = useState('MergeSort');
 
     const SliderWithInputFormControl = () => {
         const [sliderValue_intern, setSliderValue_intern] = useState(BarNumber);
-- 
GitLab