Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailwind src/Components/Patient/SamplePreview #5702

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions src/Components/Patient/SampleDetails.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import loadable from "@loadable/component";
import { useCallback, useState } from "react";
import { useDispatch } from "react-redux";
import { statusType, useAbortableEffect } from "../../Common/utils";
import { getTestSample } from "../../Redux/actions";
import { FlowModel, SampleTestModel } from "./models";
import { FileUpload } from "./FileUpload";
import { navigate } from "raviger";
import { GENDER_TYPES, TEST_TYPE_CHOICES } from "../../Common/constants";
import _ from "lodash";
import { formatDate } from "../../Utils/utils";
import { statusType, useAbortableEffect } from "../../Common/utils";
import { useCallback, useState } from "react";

import ButtonV2 from "../Common/components/ButtonV2";
import Card from "../../CAREUI/display/Card";
import { FileUpload } from "./FileUpload";
import Page from "../Common/components/Page";
import ButtonV2 from "../Common/components/ButtonV2";
import _ from "lodash";
import { formatDate } from "../../Utils/utils";
import { getTestSample } from "../../Redux/actions";
import loadable from "@loadable/component";
import { navigate } from "raviger";
import { useDispatch } from "react-redux";

const Loading = loadable(() => import("../Common/Loading"));

Expand Down Expand Up @@ -420,7 +421,7 @@ export const SampleDetails = ({ id }: SampleDetailsProps) => {
<span className="font-semibold leading-relaxed">
Countries travelled:{" "}
</span>
{JSON.parse(sampleDetails.patient_travel_history).join(", ")}
{sampleDetails.patient_travel_history.join(", ")}
</div>
)}
{sampleDetails.sample_type && (
Expand Down
Loading