Skip to content

Commit

Permalink
fix ts complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
PartyWumpus authored Oct 15, 2023
1 parent 0d05d67 commit 368ac5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/store/Store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const StorePage: FC<{}> = () => {
);
};

const BrowseTab: FC<{ children: { setPluginCount: Dispatch<SetStateAction<Number>> } }> = (data) => {
const BrowseTab: FC<{ children: { setPluginCount: Dispatch<SetStateAction<Number | null>> } }> = (data) => {

const { t } = useTranslation();

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 368ac5f

Please sign in to comment.