Reformat all project files to use the prettier config file.

This commit is contained in:
Patrick Fic
2024-03-27 15:35:07 -07:00
parent b161530381
commit e1df64d592
873 changed files with 111387 additions and 125473 deletions

View File

@@ -1,18 +1,10 @@
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>;
}