syedsibtain
Thu Jan 05 2023
If we want to query data for specific pages we can use
PageQuery
, however we cannot directly access the data. We will need to first destructure it first and then it can be passed as props
.
const IndexPage = (data) => {