mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-20 15:13:39 +09:00
format code
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
---
|
||||
type Pagination = {
|
||||
section?: string, currentPage?: number, totalPages?: number
|
||||
}
|
||||
const { section, currentPage=1, totalPages=1 }: Pagination = Astro.props;
|
||||
section?: string;
|
||||
currentPage?: number;
|
||||
totalPages?: number;
|
||||
};
|
||||
const { section, currentPage = 1, totalPages = 1 }: Pagination = Astro.props;
|
||||
|
||||
const indexPageLink = currentPage === 2;
|
||||
const hasPrevPage = currentPage > 1;
|
||||
|
||||
Reference in New Issue
Block a user