diff --git a/src/components/PingPongComponent/PingPongComponent.tsx b/src/components/PingPongComponent/PingPongComponent.tsx
index 55e93b22..3f52e647 100644
--- a/src/components/PingPongComponent/PingPongComponent.tsx
+++ b/src/components/PingPongComponent/PingPongComponent.tsx
@@ -76,7 +76,14 @@ export const PingPongComponent = ({
return;
}
- const secondsRemaining = await getTimeToPong();
+ const msRemaining = await getTimeToPong();
+
+ // If backend now returns milliseconds, convert to whole seconds
+ const secondsRemaining =
+ msRemaining == null
+ ? msRemaining
+ : Math.max(0, Math.floor(msRemaining / 1000));
+
const { canPing, timeRemaining } = setTimeRemaining(secondsRemaining);
setHasPing(canPing);
@@ -147,6 +154,9 @@ export const PingPongComponent = ({
return