Explorar o código

fix(patient-->worklist): change filter to trigger query on button click instead of immediate input.
fix #20

sw hai 1 mes
pai
achega
52a0e87df3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/patient/worklist.tsx

+ 1 - 1
src/pages/patient/worklist.tsx

@@ -42,7 +42,7 @@ const WorklistPage: React.FC = () => {
       pageSize
     );
     dispatch(fetchWorkThunk({ page, pageSize, filters }));
-  }, [dispatch, filters, page, pageSize]);
+  }, [dispatch, page, pageSize]);
 
   const handleRowClick = (record: Task) => {
     console.log('Row clicked:', JSON.stringify(record, null, 2));