docs(pagination): change h1 to li on example using page props (#1604)

This commit is contained in:
Yusuf 2021-10-21 05:47:26 +07:00 committed by GitHub
parent 93f0f1b756
commit 11eaa81929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
```