You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
709 B
27 lines
709 B
import getItems from "./forum/getItems";
|
|
|
|
export default async function Page({ children }) {
|
|
const resultList = await getItems;
|
|
return (
|
|
<div>
|
|
<h1>hi</h1>
|
|
<div>
|
|
{resultList.items.map((item, i) => (
|
|
<div key={i}>
|
|
// Show all things which you want
|
|
<br/>
|
|
{i}
|
|
<br/>
|
|
{item.title}
|
|
<br/>
|
|
{i}
|
|
<br/>
|
|
{item.description}
|
|
</div>
|
|
))
|
|
}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|