Skip to content

Commit

Permalink
disable prefetch for AddICD11Diagnosis component
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Aug 31, 2024
1 parent 683b422 commit 56c17ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function AddICD11Diagnosis(props: AddICD11DiagnosisProps) {
const hasError = !!props.disallowed.find((d) => d?.id === selected?.id);

const { res, data, loading, refetch } = useQuery(routes.listICD11Diagnosis, {
prefetch: false,
silent: true,
});

Expand Down

0 comments on commit 56c17ca

Please sign in to comment.