From 368ac5f16e938e510cd6c745d18b391fca27d2f5 Mon Sep 17 00:00:00 2001 From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Date: Sun, 15 Oct 2023 16:49:29 +0100 Subject: [PATCH] fix ts complaints --- frontend/src/components/store/Store.tsx | 2 +- frontend/src/store.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/store/Store.tsx b/frontend/src/components/store/Store.tsx index 115bccc1a..4b3befd1a 100644 --- a/frontend/src/components/store/Store.tsx +++ b/frontend/src/components/store/Store.tsx @@ -61,7 +61,7 @@ const StorePage: FC<{}> = () => { ); }; -const BrowseTab: FC<{ children: { setPluginCount: Dispatch> } }> = (data) => { +const BrowseTab: FC<{ children: { setPluginCount: Dispatch> } }> = (data) => { const { t } = useTranslation(); diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index 5c0249f9e..5ee07a649 100644 --- a/frontend/src/store.tsx +++ b/frontend/src/store.tsx @@ -54,7 +54,7 @@ export async function getPluginList(sort_by : SortOptions | null=null, sort_dire let query = new URLSearchParams() sort_by && query.set("sort_by",sort_by) sort_direction && query.set("sort_direction", sort_direction) - query = "?"+query + query = "?"+String(query) let storeURL; if (!store) {