docs(pagination): change h1
to li
on example using page
props (#1604)
This commit is contained in:
parent
93f0f1b756
commit
11eaa81929
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ const { page } = Astro.props;
|
|||
---
|
||||
<h1>Page {page.currentPage}</h1>
|
||||
<ul>
|
||||
{page.data.map(item => <li>{item.title}</h1>)}
|
||||
{page.data.map(item => <li>{item.title}</li>)}
|
||||
</ul>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue