Skip to content

Commit

Permalink
revert third changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Dec 30, 2024
1 parent 77f3c3b commit c666722
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/Patient/PatientHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import CareIcon from "@/CAREUI/icons/CareIcon";

import { Button } from "@/components/ui/button";

import { AuthorizedButton } from "@/components/Common/AuthorizedButton";
import ConfirmDialog from "@/components/Common/ConfirmDialog";
import UserAutocomplete from "@/components/Common/UserAutocompleteFormField";

Expand Down Expand Up @@ -36,7 +37,6 @@ import {
relativeDate,
} from "../../Utils/utils";
import { Avatar } from "../Common/Avatar";
import ButtonV2 from "../Common/ButtonV2";
import Loading from "../Common/Loading";
import Page from "../Common/Page";
import { SkillModel, UserBareMinimum } from "../Users/models";
Expand Down Expand Up @@ -523,7 +523,7 @@ export const PatientHome = (props: {

{NonReadOnlyUsers(authUser.user_type) && (
<div>
<ButtonV2
<AuthorizedButton
id="assign-volunteer"
onClick={() => setOpenAssignVolunteerDialog(true)}
disabled={false}
Expand All @@ -536,12 +536,12 @@ export const PatientHome = (props: {
? t("update_volunteer")
: t("assign_to_volunteer")}
</span>
</ButtonV2>
</AuthorizedButton>
</div>
)}

<div>
<ButtonV2
<AuthorizedButton
id="patient-allow-transfer"
className="flex w-full flex-row bg-white font-semibold text-green-800 hover:bg-secondary-200"
disabled={
Expand All @@ -564,7 +564,7 @@ export const PatientHome = (props: {
? t("disable_transfer")
: t("allow_transfer")}
</span>
</ButtonV2>
</AuthorizedButton>
</div>
</div>
</div>
Expand Down Expand Up @@ -725,4 +725,4 @@ export const PatientHome = (props: {
/>
</Page>
);
};
};

Check failure on line 728 in src/components/Patient/PatientHome.tsx

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

0 comments on commit c666722

Please sign in to comment.