- the great reformat

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-02-06 18:20:58 -05:00
parent 30c530bcc4
commit e83badb454
912 changed files with 108516 additions and 107493 deletions

View File

@@ -1,18 +1,18 @@
import React from "react";
import { useTranslation } from "react-i18next";
import {useTranslation} from "react-i18next";
import ScheduleCalendarWrapperComponent from "../schedule-calendar-wrapper/scheduler-calendar-wrapper.component";
export default function ScheduleDayViewComponent({ data, day }) {
const { t } = useTranslation();
if (data)
return (
<ScheduleCalendarWrapperComponent
events={data}
defaultView="day"
view={"day"}
views={["day"]}
date={day}
/>
);
else return <div>{t("appointments.labels.nodateselected")}</div>;
export default function ScheduleDayViewComponent({data, day}) {
const {t} = useTranslation();
if (data)
return (
<ScheduleCalendarWrapperComponent
events={data}
defaultView="day"
view={"day"}
views={["day"]}
date={day}
/>
);
else return <div>{t("appointments.labels.nodateselected")}</div>;
}