mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-09 15:05:48 +01:00
Eslint files
This commit is contained in:
@@ -1 +1,2 @@
|
||||
*.js
|
||||
nodes_modules/
|
||||
@@ -1,16 +1,14 @@
|
||||
import { Group, Indicator, Popover, Box, Container, Text, Avatar } from '@mantine/core';
|
||||
import { useState } from 'react';
|
||||
import { Calendar } from '@mantine/dates';
|
||||
import dayjs from 'dayjs';
|
||||
import MediaDisplay from './MediaDisplay';
|
||||
import { medias } from './mediaExample';
|
||||
import dayjs from 'dayjs';
|
||||
import { useServices } from '../../tools/state';
|
||||
|
||||
function GetCalendars(props: any)
|
||||
{
|
||||
function GetCalendars(props: any) {
|
||||
// Load context
|
||||
const { services, addService, removeService, setServicesState } = useServices();
|
||||
|
||||
}
|
||||
|
||||
export default function CalendarComponent(props: any) {
|
||||
@@ -26,9 +24,7 @@ export default function CalendarComponent(props: any) {
|
||||
onChange={(day) => {
|
||||
setValue(day);
|
||||
}}
|
||||
renderDay={(renderdate) => {
|
||||
return <DayComponent renderdate={renderdate} parsedDates={parsedDates} />;
|
||||
}}
|
||||
renderDay={(renderdate) => <DayComponent renderdate={renderdate} parsedDates={parsedDates} />}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import { serviceItem } from '../components/AppShelf/AppShelf.d';
|
||||
|
||||
export function pingQbittorrent(service: serviceItem): any {
|
||||
console.log("Getting service.cookie for service: ", service);
|
||||
if (!service.cookie)
|
||||
service.cookie = "Test";
|
||||
else
|
||||
console.log(service.cookie);
|
||||
console.log('Getting service.cookie for service: ', service);
|
||||
if (!service.cookie) service.cookie = 'Test';
|
||||
else console.log(service.cookie);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { serviceItem } from "../components/AppShelf/AppShelf.d";
|
||||
import { serviceItem } from '../components/AppShelf/AppShelf.d';
|
||||
|
||||
export interface Config {
|
||||
services: serviceItem[];
|
||||
|
||||
Reference in New Issue
Block a user