mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
💫 Add download module on the main page
This commit is contained in:
@@ -8,6 +8,8 @@ import LoadConfigComponent from '../components/Config/LoadConfig';
|
|||||||
import { Config } from '../tools/types';
|
import { Config } from '../tools/types';
|
||||||
import { useConfig } from '../tools/state';
|
import { useConfig } from '../tools/state';
|
||||||
import { migrateToIdConfig } from '../tools/migrate';
|
import { migrateToIdConfig } from '../tools/migrate';
|
||||||
|
import { ModuleWrapper } from '../components/modules/moduleWrapper';
|
||||||
|
import { DownloadsModule } from '../components/modules';
|
||||||
|
|
||||||
export async function getServerSideProps({
|
export async function getServerSideProps({
|
||||||
req,
|
req,
|
||||||
@@ -55,6 +57,7 @@ export default function HomePage(props: any) {
|
|||||||
<>
|
<>
|
||||||
<AppShelf />
|
<AppShelf />
|
||||||
<LoadConfigComponent />
|
<LoadConfigComponent />
|
||||||
|
<ModuleWrapper mt="xl" module={DownloadsModule} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user