From 7273d925b9b7912bbc30de651f135cf68ea125dc Mon Sep 17 00:00:00 2001 From: uo285427 Date: Wed, 1 May 2024 23:26:47 +0200 Subject: [PATCH] arreglos settings --- webapp/src/components/GameSettings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/src/components/GameSettings.js b/webapp/src/components/GameSettings.js index 05c7f1ae..74f777e1 100644 --- a/webapp/src/components/GameSettings.js +++ b/webapp/src/components/GameSettings.js @@ -66,10 +66,10 @@ const GameSettings = ({ setSettings, currentUser }) => { return; } setIsWarningSecsVisible(false); - if (newValue === 60 ) { - if(totalMins === 10) { - return; - } + if(totalMins === 20) { + return; + } + if (newValue === 60 ) { setTotalSecs(0); setTotalMins((totalMins) => totalMins + 1); }else {