From e6599ec1f1c67e13fa72b76f402712be2d28a7b2 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Thu, 14 Mar 2024 15:02:23 -0500 Subject: [PATCH] fixup pool list --- client/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {