mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🐛 Fix edit modal zIndex and imports
This commit is contained in:
@@ -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() }],
|
||||
|
||||
Reference in New Issue
Block a user