Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix(viewpatients.tsx): add userPageRequest in dependency array
Browse files Browse the repository at this point in the history
fix #1969
  • Loading branch information
akshay-ap committed Apr 28, 2020
1 parent c4109a4 commit 11b6c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patients/list/ViewPatients.tsx
Expand Up @@ -86,7 +86,7 @@ const ViewPatients = () => {
return () => {
setButtonToolBar([])
}
}, [dispatch, setButtonToolBar, t, history])
}, [dispatch, setButtonToolBar, t, history, userPageRequest])

const loadingIndicator = <Spinner color="blue" loading size={[10, 25]} type="ScaleLoader" />
const table = (
Expand Down

0 comments on commit 11b6c8b

Please sign in to comment.