From 11b6c8be0ee643bea6c33250c8adb36b8dafbf8f Mon Sep 17 00:00:00 2001 From: Akshay Patel Date: Tue, 28 Apr 2020 22:50:28 +0530 Subject: [PATCH] fix(viewpatients.tsx): add userPageRequest in dependency array fix #1969 --- src/patients/list/ViewPatients.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patients/list/ViewPatients.tsx b/src/patients/list/ViewPatients.tsx index 437f76b7cb..acbd809dce 100644 --- a/src/patients/list/ViewPatients.tsx +++ b/src/patients/list/ViewPatients.tsx @@ -86,7 +86,7 @@ const ViewPatients = () => { return () => { setButtonToolBar([]) } - }, [dispatch, setButtonToolBar, t, history]) + }, [dispatch, setButtonToolBar, t, history, userPageRequest]) const loadingIndicator = const table = (