Skip to content

Commit 08a8adf

Browse files
authored
Update mentenanta.tsx
Signed-off-by: Cristi Miloiu <65810476+cristim67@users.noreply.github.com>
1 parent 6d73ee2 commit 08a8adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/routes/mentenanta.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const Mentenanta: React.FC = () => {
2626
if (isMaintenance && timeLeft > 0) {
2727
const countdown = setInterval(() => {
2828
setTimeLeft(prevTime => {
29-
const newTime = prevTime - 1000; // Scade 1 secundă
30-
return newTime > 0 ? newTime : 0; // Asigură-te că nu devine negativ
29+
const newTime = prevTime - 1000;
30+
return newTime > 0 ? newTime : 0;
3131
});
3232
}, 1000);
3333

0 commit comments

Comments
 (0)