diff --git a/ascent/src/features/ascent/ascent.js b/ascent/src/features/ascent/ascent.js index 53c5384d4a8c4a091509f5df1ebdb379afea2c20..ed67838ce46b0074206a5f63ca4cbaef60e5c5fe 100644 --- a/ascent/src/features/ascent/ascent.js +++ b/ascent/src/features/ascent/ascent.js @@ -5,7 +5,7 @@ import { deleteToSort } from './sortingByDeletion.js'; const SYNTAX_ERROR = 'Please enter a comma-separated list of numbers.'; export function Ascent() { - const [input, setInput] = useState('30, 10, 60, 20, 40, 50'); + const [input, setInput] = useState('30, 10, 60, 20, 40, 50, 0'); const onInputChange = (event) => setInput(event.target.value); const list = input.split(',').map((value) => value.trim()).filter((value) => value.length > 0).map(Number);