Skip to content

Commit

Permalink
chore: remove page limit in bicho
Browse files Browse the repository at this point in the history
  • Loading branch information
ySnoopyDogy authored Jan 8, 2025
1 parent 27708ca commit c10d5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/bicho/[[...page]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const getStaticPaths: GetStaticPaths = () => {
export const getStaticProps: GetStaticProps = async ({ locale, params = {} }) => {
const page = params.page ?? INITIAL_BICHO_PAGE;

if (Number(page) < 1 || Number(page) > 99) return { redirect: { destination: '/bicho' } };
if (Number(page) < 1) return { redirect: { destination: '/bicho' } };

const games = await getBichoGames(Number(page));
const users = await getUsers(
Expand Down

0 comments on commit c10d5ed

Please sign in to comment.