mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-08 22:45:49 +01:00
⚡ Improve weather module
This commit is contained in:
@@ -2,7 +2,7 @@ import { Card, useMantineTheme } from '@mantine/core';
|
||||
import { useConfig } from '../../tools/state';
|
||||
import { IModule } from './modules';
|
||||
|
||||
export default function ModuleWrapper(props: any) {
|
||||
export function ModuleWrapper(props: any) {
|
||||
const { module }: { module: IModule } = props;
|
||||
const { config } = useConfig();
|
||||
const enabledModules = config.settings.enabledModules ?? [];
|
||||
|
||||
Reference in New Issue
Block a user