export default async ({params}) => {
let api = 'https://dev.to/api/articles/' + params.slug[0]+'/'+params.slug[1];
let x = await fetch(api);
let y = await x.json();
return (
<>
<h1>Hii {y.title}</h1>
<p>Post: {y.body_html}</p>
</>
)
}