diff --git a/src/interface/components/store/header.tsx b/src/interface/components/store/header.tsx index 98becb93..75b157e7 100644 --- a/src/interface/components/store/header.tsx +++ b/src/interface/components/store/header.tsx @@ -5,8 +5,8 @@ export default function header({ searchTerm, setSearchTerm }: { searchTerm: stri return
setSearchTerm('')}> - - + +
{ )); }, [searchTerm, gridThemes]); + const downloadTheme = (id: string) => { + window.open(`https://betterseqta.pockethost.io/api/v1/themes/${id}/download`, '_blank'); + }; + return ( -
+
@@ -131,7 +135,9 @@ const Store = () => { Theme Preview
-
diff --git a/src/interface/pages/Theme.tsx b/src/interface/pages/Theme.tsx index 5b6b1354..898b0990 100644 --- a/src/interface/pages/Theme.tsx +++ b/src/interface/pages/Theme.tsx @@ -100,11 +100,11 @@ const Theme = () => {

{theme.name}

{theme.description}

{ - /* currentThemes.includes((theme.theme as { id: string }).id) */ false ? + currentThemes.includes((theme.theme as { id: string }).id) ? : }