Skip to content

Commit

Permalink
export AvatarEditable as default
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Oct 21, 2024
1 parent 65acb25 commit 4ee05c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Components/Common/AvatarEditable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const AvatarEditable: React.FC<AvatarEditableProps> = ({
);
};

export { AvatarEditable };
export default AvatarEditable;
2 changes: 1 addition & 1 deletion src/Components/Facility/FacilityHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { CameraFeedPermittedUserTypes } from "../../Utils/permissions.js";
import { FacilityStaffList } from "./FacilityStaffList.js";
import FacilityBlock from "./FacilityBlock.js";
import Loading from "@/Components/Common/Loading";
import { AvatarEditable } from "@/Components/Common/AvatarEditable";
import AvatarEditable from "@/Components/Common/AvatarEditable";
import AvatarEditModal from "@/Components/Common/AvatarEditModal";
import careConfig from "@careConfig";
import uploadFile from "@/Utils/request/uploadFile";
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Users/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import request from "../../Utils/request/request";
import DateFormField from "../Form/FormFields/DateFormField";
import { validateRule } from "./UserAdd";
import { useTranslation } from "react-i18next";
import { AvatarEditable } from "@/Components/Common/AvatarEditable";
import AvatarEditable from "@/Components/Common/AvatarEditable";
import Page from "@/Components/Common/components/Page";
import Loading from "@/Components/Common/Loading";
import AvatarEditModal from "@/Components/Common/AvatarEditModal";
Expand Down

0 comments on commit 4ee05c7

Please sign in to comment.