Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ripe-tips-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"notion-to-jsx": patch
---

Image Size fix
3 changes: 1 addition & 2 deletions apps/renderer-storybook/scripts/fetchNotionBlocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const __dirname = dirname(__filename);
dotenv.config({ path: resolve(__dirname, '../.env.local') });

// 페이지 ID
const PAGE_ID = '1239c6bf-2b17-8076-a838-d17ca1c89783';
const PAGE_ID = '16e9c6bf2b17807aa496fc37fac0fb1b';

// ? using this script : pnpx tsx scripts/fetchNotionBlocks.ts
async function fetchAndSaveBlocks() {
Expand Down Expand Up @@ -52,7 +52,6 @@ async function fetchAndSaveBlocks() {

// 페이지 블록 가져오기
const blocks = await client.getPageBlocks(PAGE_ID);

// JSON 파일로 저장
const outputPath = join(__dirname, '../src/sample-data/notionBlocks.json');
console.log(`저장 경로: ${outputPath}`);
Expand Down
Loading