Rename monthly view for consistency
This commit is contained in:
parent
bce2393d18
commit
c01e3a4664
@ -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}
|
||||
|
||||
@ -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);
|
||||
Loading…
Reference in New Issue
Block a user