Skip to content

Commit

Permalink
fix(viewpatients.tsx): add userPageRequest in dependency array
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.