From bd1b2e82fdc6ff1725bab61593e1f54d0b975fe0 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Tue, 31 May 2022 18:05:26 +0200 Subject: Move store opening to frontend only --- frontend/src/components/TitleView.tsx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'frontend/src/components/TitleView.tsx') diff --git a/frontend/src/components/TitleView.tsx b/frontend/src/components/TitleView.tsx index 8ca81028..4b4a6825 100644 --- a/frontend/src/components/TitleView.tsx +++ b/frontend/src/components/TitleView.tsx @@ -1,25 +1,13 @@ -import { DialogButton, staticClasses } from 'decky-frontend-lib'; +import { staticClasses } from 'decky-frontend-lib'; import { VFC } from 'react'; -import { FaShoppingBag } from 'react-icons/fa'; import { useDeckyState } from './DeckyState'; const TitleView: VFC = () => { const { activePlugin } = useDeckyState(); - const openPluginStore = () => fetch('http://127.0.0.1:1337/methods/open_plugin_store', { method: 'POST' }); - if (activePlugin === null) { - return ( -
- Decky -
- - - -
-
- ); + return
Decky
; } return ( -- cgit v1.2.3