diff --git a/client/src/App.jsx b/client/src/App.jsx index e1bf051..2f4d3bf 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -132,7 +132,7 @@ function App() { pool.id = Number(pool.id); pool.timeRemaining = new Date(Number(pool.endTime) * 1000) - new Date(); pool.status = getPoolStatus(pool); - dispatchValidationPool({ type: 'update', item: 'pool' }); + dispatchValidationPool({ type: 'update', item: pool }); // When remaing time expires, we want to update the status for this pool if (pool.timeRemaining > 0) {