Skip to content

Commit

Permalink
a minor issue related to spellings
Browse files Browse the repository at this point in the history
  • Loading branch information
sherrif10 committed Jan 4, 2024
1 parent d8dd0ab commit 075bf08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/queue-list/laboratory-patient-list.resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function usePatientQueueRequest(apiUrl: string) {
Error
>(apiUrl, openmrsFetch, { refreshInterval: 3000 });

const mapppedQueues = data?.data?.results.map((queue: PatientQueue) => {
const mappedQueues = data?.data?.results.map((queue: PatientQueue) => {
return {
...queue,
id: queue.uuid,
Expand Down Expand Up @@ -76,8 +76,8 @@ export function usePatientQueueRequest(apiUrl: string) {
});

return {
patientQueueEntries: mapppedQueues || [],
patientQueueCount: mapppedQueues?.length ?? 0,
patientQueueEntries: mappedQueues || [],
patientQueueCount: mappedQueues?.length ?? 0,
isLoading,
isError: error,
isValidating,
Expand Down

0 comments on commit 075bf08

Please sign in to comment.