Skip to content

Commit

Permalink
Fix Scribe erroring out (#8331)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker authored Aug 16, 2024
1 parent 72315ed commit b87f542
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Components/Scribe/formDetails.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { t } from "i18next";
import {
CONSCIOUSNESS_LEVEL,
PATIENT_CATEGORIES,
Expand Down Expand Up @@ -212,8 +211,8 @@ const DAILY_ROUND_FORM_SCRIBE_DATA: Field[] = [
description:
"An option to store the level of consciousness of the patient.",
options: CONSCIOUSNESS_LEVEL.map((loc) => ({
...loc,
text: t(`CONSCIOUSNESS_LEVEL__${loc.value}`),
id: loc.id,
text: loc.value,
})),
validator: (value) => typeof value === "string",
},
Expand Down

0 comments on commit b87f542

Please sign in to comment.