import { NotionRenderer } from "react-notion";
import "react-notion/src/styles.css";
export default function ProjectDetail() {
const [notionBlockMap, setNotionBlockMap] = useState({});
useEffect(() => {
(async () => {
const notionBlockMap = await (
await fetch(
"https://cloudsfow.notion.site/SFOW-fb70595e54ab40b886fa28cc4c9ddf0a?pvs=4"
)
).json();
setNotionBlockMap(notionBlockMap);
})();
}, []);
return (
<>
{Object.keys(notionBlockMap).length ? (
) : null}
<>
);
}