fix: in game page add source filter while fetching latest 100 mods
All checks were successful
Release to Staging / build_and_release (push) Successful in 46s
All checks were successful
Release to Staging / build_and_release (push) Successful in 46s
This commit is contained in:
parent
8608765e79
commit
f4f9a8bd17
@ -18,7 +18,7 @@ export const GamesPage = () => {
|
|||||||
const [currentPage, setCurrentPage] = useState(1)
|
const [currentPage, setCurrentPage] = useState(1)
|
||||||
|
|
||||||
useDidMount(() => {
|
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)
|
mods.sort((a, b) => b.published_at - a.published_at)
|
||||||
|
|
||||||
const gameNames = new Set<string>()
|
const gameNames = new Set<string>()
|
||||||
|
Loading…
Reference in New Issue
Block a user