From bf31f94a2cc96d1fa81b01058c6a5c01e921de49 Mon Sep 17 00:00:00 2001 From: Justin Schreiner Date: Fri, 8 Nov 2024 14:52:46 -0700 Subject: [PATCH] reload db on update fn --- src/components/coordinator/manageActivePowerTable.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/coordinator/manageActivePowerTable.tsx b/src/components/coordinator/manageActivePowerTable.tsx index 9d3da29..7fc6da6 100644 --- a/src/components/coordinator/manageActivePowerTable.tsx +++ b/src/components/coordinator/manageActivePowerTable.tsx @@ -68,6 +68,7 @@ export function ManageActivePowerTable(): JSX.Element { } else { toast.error(data.message); } + setReload(!reload); return newRow; }