diff --git a/src/CAREUI/misc/PrintPreview.tsx b/src/CAREUI/misc/PrintPreview.tsx index 6ad15d72b48..78425527744 100644 --- a/src/CAREUI/misc/PrintPreview.tsx +++ b/src/CAREUI/misc/PrintPreview.tsx @@ -1,38 +1,36 @@ import { ReactNode } from "react"; -import useAppHistory from "../../Common/hooks/useAppHistory"; import ButtonV2 from "../../Components/Common/components/ButtonV2"; import CareIcon from "../icons/CareIcon"; import { classNames } from "../../Utils/utils"; +import Page from "../../Components/Common/components/Page"; type Props = { children: ReactNode; disabled?: boolean; className?: string; + title: string; }; export default function PrintPreview(props: Props) { - const { goBack } = useAppHistory(); - return ( -