diff --git a/src/Components/Resource/ResourceCreate.tsx b/src/Components/Resource/ResourceCreate.tsx index 2f1203bdc91..6bed5cacee1 100644 --- a/src/Components/Resource/ResourceCreate.tsx +++ b/src/Components/Resource/ResourceCreate.tsx @@ -10,7 +10,6 @@ import { RESOURCE_SUBCATEGORIES, } from "../../Common/constants"; import { parsePhoneNumberFromString } from "libphonenumber-js"; -import { Card, CardContent } from "@material-ui/core"; import { phonePreg } from "../../Common/validation"; import { createResource, getAnyFacility } from "../../Redux/actions"; @@ -24,8 +23,9 @@ import { SelectFormField } from "../Form/FormFields/SelectFormField"; import TextAreaFormField from "../Form/FormFields/TextAreaFormField"; import RadioFormField from "../Form/FormFields/RadioFormField"; import { FieldLabel } from "../Form/FormFields/FormField"; +import Card from "../../CAREUI/display/Card"; +import Page from "../Common/components/Page"; -const PageTitle = loadable(() => import("../Common/PageTitle")); const Loading = loadable(() => import("../Common/Loading")); interface resourceProps { @@ -219,121 +219,113 @@ export default function ResourceCreate(props: resourceProps) { } return ( -