Skip to content

Commit

Permalink
perf: reduce overload of pictures on /games (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 authored Dec 23, 2024
1 parent f785dca commit cbeab49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/[locale]/games/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function GamesGalleryGridInner() {
const t = useTranslations('common');
const dispatch = useAppDispatch();

const LIMIT_PAGE = 16;
const LIMIT_PAGE = 12;

// Lazy query setup
const { data, isFetching } = useGetGamesQuery(
Expand All @@ -53,7 +53,7 @@ function GamesGalleryGridInner() {
size={{
xs: 6,
md: 4,
lg: 1.5
lg: 2
}}
>
<CardEntry game={game}/>
Expand Down

0 comments on commit cbeab49

Please sign in to comment.