Skip to content

Commit

Permalink
issue #8442 : Moved the text to i18n format
Browse files Browse the repository at this point in the history
  • Loading branch information
Adiflickzzz committed Aug 30, 2024
1 parent f8b40e8 commit ae9095b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ ESLINT_NO_DEV_ERRORS=true

CARE_CDN_URL="https://egov-s3-facility-10bedicu.s3.amazonaws.com https://egov-s3-patient-data-10bedicu.s3.amazonaws.com http://localhost:4566"

#.env
CARE_API=http://127.0.0.1:9000
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState } from "react";
import { PrescriptionDropdown } from "./PrescriptionDropdown";
import CareIcon from "../../../CAREUI/icons/CareIcon";
import { useTranslation } from "react-i18next";

export type ProcedureType = {
procedure?: string;
Expand Down Expand Up @@ -33,6 +34,7 @@ export default function ProcedureBuilder(props: Props<ProcedureType>) {
procedures.map((procedure, index) => (index === i ? object : procedure)),
);
};
const { t } = useTranslation();

return (
<div className="mt-2">
Expand Down Expand Up @@ -64,7 +66,7 @@ export default function ProcedureBuilder(props: Props<ProcedureType>) {
</button>
</div>
<div className="w-full">
Procedure Suggestions
{t("Procedure Suggestions")}
<span className="text-danger-500">{" *"}</span>
<input
id="procedure-name"
Expand Down

0 comments on commit ae9095b

Please sign in to comment.