mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-28 10:19:13 +01:00
Improve default arguments and type checking
This commit is contained in:
@@ -16,6 +16,7 @@ const configContext = createContext<configContextType>({
|
||||
settings: {
|
||||
searchBar: true,
|
||||
searchUrl: 'https://www.google.com/search?q=',
|
||||
enabledModules: [],
|
||||
},
|
||||
},
|
||||
setConfig: () => {},
|
||||
@@ -49,6 +50,7 @@ export function ConfigProvider({ children }: Props) {
|
||||
settings: {
|
||||
searchBar: true,
|
||||
searchUrl: 'https://www.google.com/search?q=',
|
||||
enabledModules: [],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user