Skip to content

Commit 1c8a675

Browse files
committed
Remove unnecessary pageUrl mapper
1 parent 868ba3b commit 1c8a675

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

example/pages/[pageId].tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ const NotionPage = ({ blockMap }) => {
4646
<Head>
4747
<title>{title}</title>
4848
</Head>
49-
<NotionRenderer
50-
blockMap={blockMap}
51-
mapPageUrl={id => `/${title}--${id}`}
52-
/>
49+
<NotionRenderer blockMap={blockMap} />
5350
<style jsx>{`
5451
div :global(.notion-code) {
5552
box-sizing: border-box;

0 commit comments

Comments
 (0)