Skip to content

Commit

Permalink
Use DailyRoundsModel instead of any
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar76 committed Nov 17, 2023
1 parent bf5fef5 commit d09c428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import TextAreaFormField from "../Form/FormFields/TextAreaFormField";
import TextFormField from "../Form/FormFields/TextFormField";
import { FieldChangeEvent } from "../Form/FormFields/Utils";
import PatientCategorySelect from "./PatientCategorySelect";
import { DailyRoundsModel } from "./models";
const Loading = lazy(() => import("../Common/Loading"));

const initForm: any = {
Expand Down Expand Up @@ -107,7 +108,7 @@ export const DailyRounds = (props: any) => {
const [patientName, setPatientName] = useState("");
const [prevReviewInterval, setPreviousReviewInterval] = useState(-1);
const [prevAction, setPreviousAction] = useState("NO_ACTION");
const [previousLog, setPreviousLog] = useState<any>({});
const [previousLog, setPreviousLog] = useState<DailyRoundsModel>();

const headerText = !id ? "Add Consultation Update" : "Info";
const buttonText = !id ? "Save" : "Continue";
Expand Down

0 comments on commit d09c428

Please sign in to comment.