(category: string, pages: number)
| 14 | }; |
| 15 | |
| 16 | const mapPaginationPages = (category: string, pages: number) => |
| 17 | [...Array(pages).keys()].map(page => ({ |
| 18 | url: `/blog/${category}/page/${page + 1}`, |
| 19 | })); |
| 20 | |
| 21 | const WithBlogCategories: FC<WithBlogCategoriesProps> = ({ |
| 22 | categories, |
no outgoing calls
no test coverage detected