import { staticClasses, DialogButton } 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 (
{activePlugin.name}
); }; export default TitleView;