From b229aacba5ed9a08cf649e4f9e40cc6c86fdeb55 Mon Sep 17 00:00:00 2001 From: ajnart Date: Sun, 29 May 2022 15:32:39 +0200 Subject: [PATCH] :sparkles: Add download module to the AppShelf --- src/components/AppShelf/AppShelf.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/AppShelf/AppShelf.tsx b/src/components/AppShelf/AppShelf.tsx index dd67c0d02..21793972d 100644 --- a/src/components/AppShelf/AppShelf.tsx +++ b/src/components/AppShelf/AppShelf.tsx @@ -12,6 +12,8 @@ import { arrayMove, SortableContext } from '@dnd-kit/sortable'; import { useConfig } from '../../tools/state'; import { SortableAppShelfItem, AppShelfItem } from './AppShelfItem'; +import { ModuleWrapper } from '../modules/moduleWrapper'; +import { DownloadsModule } from '../modules'; const AppShelf = (props: any) => { const [activeId, setActiveId] = useState(null); @@ -116,10 +118,16 @@ const AppShelf = (props: any) => { {item()} ) : null} + ); } - return item(); + return ( + + {item()} + + + ); }; export default AppShelf;