Skip to content

Commit

Permalink
A minor issue related to spelling. (#26)
Browse files Browse the repository at this point in the history
* a minor issue related to spellings

* Minor fix
  • Loading branch information
sherrif10 authored Jan 4, 2024
1 parent d8dd0ab commit f4ea5cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/queue-list/laboratory-patient-list.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const LaboratoryPatientList: React.FC<LaboratoryPatientListProps> = () => {
<p className={styles.content}>
{t(
"noWorklistsToDisplay",
"No workists orders to display"
"No worklists orders to display"
)}
</p>
</div>
Expand Down
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
2 changes: 1 addition & 1 deletion src/work-list/work-list.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const WorkList: React.FC<WorklistProps> = ({ fulfillerStatus }) => {
<p className={styles.content}>
{t(
"noWorklistsToDisplay",
"No workists orders to display"
"No worklists orders to display"
)}
</p>
</div>
Expand Down

0 comments on commit f4ea5cf

Please sign in to comment.