From 8c8cf180fad2ad6951ad7ce6b74e6c163fa01d18 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 14 Jul 2022 22:51:55 -0400 Subject: Updater for decky-loader (#117) * Add an updater in settings for decky-loader * add chmod * remove junk comments --- .../settings/pages/plugin_list/index.tsx | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 frontend/src/components/settings/pages/plugin_list/index.tsx (limited to 'frontend/src/components/settings/pages/plugin_list') diff --git a/frontend/src/components/settings/pages/plugin_list/index.tsx b/frontend/src/components/settings/pages/plugin_list/index.tsx new file mode 100644 index 00000000..a554236a --- /dev/null +++ b/frontend/src/components/settings/pages/plugin_list/index.tsx @@ -0,0 +1,34 @@ +import { DialogButton, staticClasses } from 'decky-frontend-lib'; +import { FaTrash } from 'react-icons/fa'; + +import { useDeckyState } from '../../../DeckyState'; + +export default function PluginList() { + const { plugins } = useDeckyState(); + + if (plugins.length === 0) { + return ( +
+

No plugins installed

+
+ ); + } + + return ( + + ); +} -- cgit v1.2.3