Skip to content

Commit

Permalink
add absolute imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahendar0701 committed Dec 26, 2024
1 parent ea0fb17 commit 14bd464
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/components/Patient/PatientHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ import { useTranslation } from "react-i18next";

import CareIcon from "@/CAREUI/icons/CareIcon";

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

import AuthorizedButton from "@/components/Common/AuthorizedButton";
import { Avatar } from "@/components/Common/Avatar";
import ConfirmDialog from "@/components/Common/ConfirmDialog";
import Loading from "@/components/Common/Loading";
import Page from "@/components/Common/Page";
import UserAutocomplete from "@/components/Common/UserAutocompleteFormField";
import { patientTabs } from "@/components/Patient/PatientDetailsTab";
import {
AssignedToObjectModel,
PatientModel,
} from "@/components/Patient/models";
import { SkillModel, UserBareMinimum } from "@/components/Users/models";

import useAuthUser from "@/hooks/useAuthUser";

Expand All @@ -25,7 +35,6 @@ import dayjs from "@/Utils/dayjs";
import routes from "@/Utils/request/api";
import request from "@/Utils/request/request";
import useTanStackQueryInstead from "@/Utils/request/useQuery";

import {
formatDateTime,
formatName,
Expand All @@ -34,14 +43,7 @@ import {
isAntenatal,
isPostPartum,
relativeDate,
} from "../../Utils/utils";
import { Avatar } from "../Common/Avatar";
import Loading from "../Common/Loading";
import Page from "../Common/Page";
import { SkillModel, UserBareMinimum } from "../Users/models";
import { Badge } from "../ui/badge";
import { patientTabs } from "./PatientDetailsTab";
import { AssignedToObjectModel, PatientModel } from "./models";
} from "@/Utils/utils";

export const parseOccupation = (occupation: string | undefined) => {
return OCCUPATION_TYPES.find((i) => i.value === occupation)?.text;
Expand Down

0 comments on commit 14bd464

Please sign in to comment.