diff --git a/webapp/src/components/Game.jsx b/webapp/src/components/Game.jsx index 3dc9d8da..bc95c7f1 100644 --- a/webapp/src/components/Game.jsx +++ b/webapp/src/components/Game.jsx @@ -69,10 +69,11 @@ const Question = ({ goTo, setGameFinished }) => { if (isCorrect(option)) return 'green'; }; - // NOSONAR + // sonarignore:start const shuffleOptions = (options) => { return options.sort(() => Math.random() - 0.5); }; + // sonarignore:end const handleSubmit = (option, index) => {