From ced18da65aad99d8da52b84318f0ec2824fc6fdb Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 7 Jun 2022 08:20:19 +0200 Subject: [PATCH] :fire: Remove default values for the Advanced settings --- src/components/Settings/SettingsMenu.tsx | 2 +- src/tools/getConfig.ts | 3 --- src/tools/state.tsx | 6 ------ 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/Settings/SettingsMenu.tsx b/src/components/Settings/SettingsMenu.tsx index 2cdb79db9..234292df6 100644 --- a/src/components/Settings/SettingsMenu.tsx +++ b/src/components/Settings/SettingsMenu.tsx @@ -145,7 +145,7 @@ export function SettingsMenuButton(props: any) { return ( <> Settings} diff --git a/src/tools/getConfig.ts b/src/tools/getConfig.ts index 8fd1815a2..64082af04 100644 --- a/src/tools/getConfig.ts +++ b/src/tools/getConfig.ts @@ -10,9 +10,6 @@ export function getConfig(name: string) { configName: name, config: { name: name.toString(), - title: 'Homarr 🦞', - logo: '/imgs/logo.png', - favicon: '/favicon.svg', services: [], settings: { searchUrl: 'https://www.google.com/search?q=', diff --git a/src/tools/state.tsx b/src/tools/state.tsx index ace597ab3..21e4da1dc 100644 --- a/src/tools/state.tsx +++ b/src/tools/state.tsx @@ -18,9 +18,6 @@ const configContext = createContext({ services: [], settings: { searchUrl: 'https://google.com/search?q=', - title: '', - logo: '', - favicon: '', }, modules: {}, }, @@ -47,9 +44,6 @@ export function ConfigProvider({ children }: Props) { services: [], settings: { searchUrl: 'https://www.google.com/search?q=', - title: '', - logo: '', - favicon: '', }, modules: {}, });