From f4f9a8bd17184056fb25243d3738f2c4a869df7a Mon Sep 17 00:00:00 2001 From: daniyal Date: Wed, 25 Sep 2024 21:00:48 +0500 Subject: [PATCH] fix: in game page add source filter while fetching latest 100 mods --- src/pages/games.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/games.tsx b/src/pages/games.tsx index d2eb023..37d6759 100644 --- a/src/pages/games.tsx +++ b/src/pages/games.tsx @@ -18,7 +18,7 @@ export const GamesPage = () => { const [currentPage, setCurrentPage] = useState(1) useDidMount(() => { - fetchMods({ limit: 100 }).then((mods) => { + fetchMods({ limit: 100, source: window.location.host }).then((mods) => { mods.sort((a, b) => b.published_at - a.published_at) const gameNames = new Set()