From 0efca4ef96ed292ad01f08c935b7cb6e24c106a4 Mon Sep 17 00:00:00 2001 From: Nico Behnke Date: Mon, 29 Jun 2026 16:18:28 +0200 Subject: [PATCH] linted files --- frontend/src/pages/SettingsApplication.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/SettingsApplication.tsx b/frontend/src/pages/SettingsApplication.tsx index 9cfeea8b..acc9aae7 100644 --- a/frontend/src/pages/SettingsApplication.tsx +++ b/frontend/src/pages/SettingsApplication.tsx @@ -50,8 +50,11 @@ const SettingsApplication = () => { const [currentThrottledRate, setCurrentThrottledRate] = useState(null); const [currentScrapingSleep, setCurrentScrapingSleep] = useState(null); const [currentAutodelete, setCurrentAutodelete] = useState(null); - const [currentAutodeleteEmptyChannels, setCurrentAutodeleteEmptyChannels] = useState(false); - const [currentAutodeleteEmptyPlaylists, setCurrentAutodeleteEmptyPlaylists] = useState(false); + const [currentAutodeleteEmptyChannels, setCurrentAutodeleteEmptyChannels] = + useState(false); + const [currentAutodeleteEmptyPlaylists, setCurrentAutodeleteEmptyPlaylists] = + useState(false); + // Download Format const [downloadsFormat, setDownloadsFormat] = useState(null); const [downloadsFormatSort, setDownloadsFormatSort] = useState(null); @@ -107,8 +110,12 @@ const SettingsApplication = () => { setCurrentThrottledRate(appSettingsConfigData?.downloads.throttledratelimit || null); setCurrentScrapingSleep(appSettingsConfigData?.downloads.sleep_interval || null); setCurrentAutodelete(appSettingsConfigData?.downloads.autodelete_days || null); - setCurrentAutodeleteEmptyChannels(appSettingsConfigData?.downloads.autodelete_empty_channels || false); - setCurrentAutodeleteEmptyPlaylists(appSettingsConfigData?.downloads.autodelete_empty_playlists || false); + setCurrentAutodeleteEmptyChannels( + appSettingsConfigData?.downloads.autodelete_empty_channels || false, + ); + setCurrentAutodeleteEmptyPlaylists( + appSettingsConfigData?.downloads.autodelete_empty_playlists || false, + ); // Download Format setDownloadsFormat(appSettingsConfigData?.downloads.format || null);