Rename monthly view for consistency

This commit is contained in:
shamoon 2023-10-19 22:29:32 -07:00
parent bce2393d18
commit c01e3a4664
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import dynamic from "next/dynamic";
import { DateTime } from "luxon";
import { useTranslation } from "next-i18next";
import MonthlyView from "./monthly-view";
import Monthly from "./monthly";
import Agenda from "./agenda";
import Container from "components/services/widget/container";
@ -91,7 +91,7 @@ export default function Component({ service }) {
})}
</div>
{(!widget?.view || widget?.view === "monthly") && (
<MonthlyView
<Monthly
service={service}
colorVariants={colorVariants}
showDate={showDate}

View File

@ -99,7 +99,7 @@ const dayInWeekId = {
sunday: 7,
};
export default function MonthlyView({ service, colorVariants, showDate, setShowDate }) {
export default function Monthly({ service, colorVariants, showDate, setShowDate }) {
const { widget } = service;
const { i18n } = useTranslation();
const { events } = useContext(EventContext);