🐛 Fix edit modal zIndex and imports

This commit is contained in:
ajnart
2023-04-17 15:07:18 +09:00
parent 543113292b
commit 252651c1fb
3 changed files with 2 additions and 4 deletions

View File

@@ -9,7 +9,6 @@ import { defineWidget } from '../helper';
import { IWidget } from '../widgets';
import { CalendarDay } from './CalendarDay';
import { MediasType } from './type';
import { useColorTheme } from '../../tools/color';
const definition = defineWidget({
id: 'calendar',
@@ -51,7 +50,6 @@ interface CalendarTileProps {
function CalendarTile({ widget }: CalendarTileProps) {
const { name: configName } = useConfigContext();
const [month, setMonth] = useState(new Date());
const { secondaryColor } = useColorTheme();
const { data: medias } = useQuery({
queryKey: ['calendar/medias', { month: month.getMonth(), year: month.getFullYear() }],