Skip to content

Commit

Permalink
add warning icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 committed Dec 11, 2023
1 parent 2d8d024 commit a8eaa47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Components/ExternalResult/ExternalResultUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import useAppHistory from "../../Common/hooks/useAppHistory";
import request from "../../Utils/request/request";
import routes from "../../Redux/api";
import { IExternalResult } from "./models";
import CareIcon from "../../CAREUI/icons/CareIcon";

export default function ExternalResultUpload() {
const { sample_format_external_result_import } = useConfig();
Expand Down Expand Up @@ -175,8 +176,9 @@ export default function ExternalResultUpload() {
</div>
<div>
{data.district !== user.district_object.name && (
<p className="mt-2 flex items-center justify-center text-red-500">
Different districts
<p className="mt-2 flex items-center justify-center gap-1 text-red-500">
<CareIcon icon="l-exclamation-triangle" /> Different
districts
</p>
)}
</div>
Expand Down

0 comments on commit a8eaa47

Please sign in to comment.