Skip to content

Commit

Permalink
Replace useDispatch with useQuery and request in PatientRegistration …
Browse files Browse the repository at this point in the history
…form. (#7216)

* replace useDispatch with useQuery and request in PatientRegister.tsx

* remove promise.all for states

* replace useQuery for fetchData with request

* replace complex useQuery with request
  • Loading branch information
sriharsh05 authored Feb 28, 2024
1 parent ab67826 commit 9a53d70
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 282 deletions.
3 changes: 3 additions & 0 deletions src/Components/ExternalResult/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export interface IExternalResult {
sample_collection_date: string;
patient_category: string;
srf_id: string;
permanent_address: string;
test_id: string;
village: string;
district_object: {
id: number;
name: string;
Expand Down
Loading

0 comments on commit 9a53d70

Please sign in to comment.