diff --git a/index/src/pages/Bubble.js b/index/src/pages/Bubble.js index 02aac45..d2e133f 100644 --- a/index/src/pages/Bubble.js +++ b/index/src/pages/Bubble.js @@ -2,11 +2,12 @@ import React from "react"; import {arr, originalArray, getArray, bubbleSort} from "./main.js"; function Bubble() { + let array = arr.slice(); return (