⬆️ Upgrade to Next v13.1.6

This commit is contained in:
ajnart
2023-01-31 12:53:32 +09:00
parent 9d566330be
commit dfa623d98f
3 changed files with 96 additions and 72 deletions

View File

@@ -2,6 +2,7 @@ import { createStyles, Group, MantineThemeColors, useMantineTheme } from '@manti
import { Calendar } from '@mantine/dates';
import { IconCalendarTime } from '@tabler/icons';
import { useQuery } from '@tanstack/react-query';
import { i18n } from 'next-i18next';
import { useState } from 'react';
import { useConfigContext } from '../../config/provider';
import { useColorTheme } from '../../tools/color';
@@ -73,7 +74,7 @@ function CalendarTile({ widget }: CalendarTileProps) {
style={{ position: 'relative', top: -15 }}
onMonthChange={setMonth}
size="xs"
locale={i18n.resolvedLanguage}
locale={i18n?.resolvedLanguage ?? 'en'}
fullWidth
onChange={() => {}}
firstDayOfWeek={widget.properties.sundayStart ? 'sunday' : 'monday'}