Skip to content

Commit c18131c

Browse files
committed
fix: 불필요 파일 삭제
1 parent 451d296 commit c18131c

File tree

9 files changed

+9
-590
lines changed

9 files changed

+9
-590
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"react": "^18.2.0",
2323
"react-dom": "^18.2.0",
2424
"react-icons": "^4.9.0",
25-
"react-notion-x": "^6.16.0",
2625
"rss": "^1.2.2"
2726
},
2827
"devDependencies": {

pages/_app.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { AppProps } from 'next/app';
33
import Layout from '@/components/layout';
44

55
import 'prismjs/themes/prism-tomorrow.css';
6-
import 'katex/dist/katex.min.css';
76

87
import '@/assets/styles/index.css';
98
import 'notion-to-jsx/dist/index.css';

pages/posts/[slug].tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ const PostPage = ({ blocks, seo: { title, description, keywords, coverUrl } }: P
3030
keywords={keywords}
3131
image={coverUrl}
3232
/>
33-
<article>
34-
<Renderer
35-
title={title}
36-
cover={coverUrl}
37-
blocks={blocks}
38-
/>
39-
</article>
33+
<Renderer
34+
title={title}
35+
cover={coverUrl}
36+
blocks={blocks}
37+
/>
4038
<div className="mx-auto max-w-[900px] px-4">
4139
<Giscus />
4240
</div>

src/interfaces/notion-block.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,6 @@ export interface DividerBlock extends BaseBlock {
245245
type: 'divider';
246246
}
247247

248-
export interface ColumnListBlock extends BaseBlock {
249-
type: 'column_list';
250-
}
251-
252248
export interface ColumnBlock extends BaseBlock {
253249
type: 'column';
254250
format: {

src/utils/getPage.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ export const getBlockCollectionId = (block: Block, recordMap: ExtendedRecordMap)
200200
return null;
201201
};
202202

203-
type ReducerKey = `${string}:${any}:${any}`;
204-
205203
interface Filter {
206204
operator: string;
207205
filters: Array<{

src/utils/getPageProperties.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/utils/getPageTitle.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/utils/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export { default as getNotionPosts } from './getNotionPosts';
33
export { default as getPage } from './getPage';
44
export { default as getCategories } from './getCategories';
55
export { default as getPageCoverImage } from './getPageCoverImage';
6-
export { default as getPageProperties } from './getPageProperties';
76
export { default as getSlugs } from './getSlugs';
87
export { default as getIdBySlug } from './getIdBySlug';
98
export { default as parsePosts } from './parsePosts';

0 commit comments

Comments
 (0)