Skip to content

Commit 8a7a86e

Browse files
authored
chore: nits#4 (#73)
### Description <!-- Please add PR description (don't leave blank) - example: This PR [adds/removes/fixes/replaces] the [feature/bug/etc] --> This PR fixes 'pageSize' issue on the word browse alphabetic page, and brought back the temporary cs page. ### Related Issue <!-- Please prefix the issue number with Fixes/Resolves - example: Fixes #123 or Resolves #123 --> NA ### Screenshots/Screencasts <!-- Please provide screenshots or video recording that demos your changes (especially if it's a visual change) --> NA ### Notes to Reviewer <!-- Please state here if you added a new npm packages, or any extra information that can help reviewer better review you changes --> NA
1 parent ec512a7 commit 8a7a86e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/browse/[alpha]/[page].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export async function getStaticPaths({ paginate }) {
1818
const filteredWords = dictionary.filter(word => word.slug[0] === alpha);
1919
return paginate(filteredWords, {
2020
params: { alpha },
21-
pageSize: 1
21+
// pageSize: 1
2222
});
2323
});
2424
}

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const dictionary = await getCollection("dictionary");
99
/**
1010
* Temporary Redirect to comming soon
1111
*/
12-
// return Astro.redirect("/cs");
12+
return Astro.redirect("/cs");
1313
---
1414

1515
<BaseLayout

0 commit comments

Comments
 (0)