diff --git a/src/components/AppShelf/AddAppShelfItem.tsx b/src/components/AppShelf/AddAppShelfItem.tsx
index b507bdc5a..17f7d8598 100644
--- a/src/components/AppShelf/AddAppShelfItem.tsx
+++ b/src/components/AppShelf/AddAppShelfItem.tsx
@@ -18,10 +18,10 @@ import { useForm } from '@mantine/form';
import { motion } from 'framer-motion';
import { useState } from 'react';
import { Apps } from 'tabler-icons-react';
+import { v4 as uuidv4 } from 'uuid';
import { useConfig } from '../../tools/state';
import { ServiceTypeList } from '../../tools/types';
import { AppShelfItemWrapper } from './AppShelfItemWrapper';
-import { v4 as uuidv4 } from 'uuid';
export function AddItemShelfButton(props: any) {
const [opened, setOpened] = useState(false);
diff --git a/src/components/modules/calendar/CalendarModule.tsx b/src/components/modules/calendar/CalendarModule.tsx
index 4c8f825ee..17a40c3e6 100644
--- a/src/components/modules/calendar/CalendarModule.tsx
+++ b/src/components/modules/calendar/CalendarModule.tsx
@@ -33,22 +33,22 @@ export default function CalendarComponent(props: any) {
const nextMonth = new Date(new Date().setMonth(new Date().getMonth() + 2)).toISOString();
if (sonarrService && sonarrService.apiKey) {
const baseUrl = new URL(sonarrService.url).origin;
- fetch(
- `${baseUrl}/api/calendar?apikey=${sonarrService?.apiKey}&end=${nextMonth}`
- ).then((response) => {
- response.ok &&
- response.json().then((data) => {
- setSonarrMedias(data);
- showNotification({
- title: 'Sonarr',
- icon: ,
- color: 'green',
- autoClose: 1500,
- radius: 'md',
- message: `Loaded ${data.length} releases`,
+ fetch(`${baseUrl}/api/calendar?apikey=${sonarrService?.apiKey}&end=${nextMonth}`).then(
+ (response) => {
+ response.ok &&
+ response.json().then((data) => {
+ setSonarrMedias(data);
+ showNotification({
+ title: 'Sonarr',
+ icon: ,
+ color: 'green',
+ autoClose: 1500,
+ radius: 'md',
+ message: `Loaded ${data.length} releases`,
+ });
});
- });
- });
+ }
+ );
}
if (radarrService && radarrService.apiKey) {
const baseUrl = new URL(radarrService.url).origin;
diff --git a/tsconfig.json b/tsconfig.json
index c415d3095..3ff0501fd 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -16,5 +16,5 @@
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"],
- "exclude": ["node_modules", "**/*.story.*"]
+ "exclude": ["node_modules"]
}