Is there a way to avoid the ad block and land on the Notion page without a server-side request (react-notion-x)

21 Views Asked by At

i use react-notion-x plugin

useEffect(() => {
fetch(`https://notion-api.splitbee.io/v1/page/${pageId}`)
  .then((res) => res.json())
  .then((data) => {
    const blockMap = {};
    console.log('NOTION DATA : \n' + JSON.stringify(data));
    Object.keys(data).forEach((key) => {
      blockMap[key] = data[key];
    });
    setBlockMap(blockMap);
  })
  .catch((err) => console.error('An error occurred: ' + err));
}, []);

but

enter image description here

Is there a way to avoid the ad block and land on the Notion page without a server-side request?

0

There are 0 best solutions below