Skip to content

Commit

Permalink
tailwinds #4986 (#5660)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jun 21, 2023
1 parent 6939644 commit 2e34d6e
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions src/Components/Patient/SampleViewAdmin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import { ExportButton } from "../Common/Export";
import CountBlock from "../../CAREUI/display/Count";
import CareIcon from "../../CAREUI/icons/CareIcon";
import { AdvancedFilterButton } from "../../CAREUI/interactive/FiltersSlideover";
import Page from "../Common/components/Page";
const Loading = loadable(() => import("../Common/Loading"));
const PageTitle = loadable(() => import("../Common/PageTitle"));

export default function SampleViewAdmin() {
const {
Expand Down Expand Up @@ -329,7 +329,18 @@ export default function SampleViewAdmin() {
}

return (
<div className="px-6">
<Page
title="Sample Management System"
hideBack={true}
breadcrumbs={false}
componentRight={
<ExportButton
action={() => downloadSampleTests({ ...qParams })}
parse={parseExportData}
filenamePrefix="samples"
/>
}
>
{statusDialog.show && (
<UpdateStatusDialog
sample={statusDialog.sample}
Expand All @@ -338,18 +349,6 @@ export default function SampleViewAdmin() {
userType={userType}
/>
)}
<PageTitle
title="Sample Management System"
hideBack={true}
breadcrumbs={false}
componentRight={
<ExportButton
action={() => downloadSampleTests({ ...qParams })}
parse={parseExportData}
filenamePrefix="samples"
/>
}
/>
<div className="mt-5 lg:grid lg:grid-cols-1 gap-5">
<div className="flex flex-col lg:flex-row gap-6 justify-between">
<div className="w-full">
Expand Down Expand Up @@ -411,6 +410,6 @@ export default function SampleViewAdmin() {
<div className="md:px-2">
<div className="flex flex-wrap md:-mx-2 lg:-mx-6">{manageSamples}</div>
</div>
</div>
</Page>
);
}

0 comments on commit 2e34d6e

Please sign in to comment.