diff --git a/package.json b/package.json
index b0ff312..66e44ce 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,6 @@
"@types/react-syntax-highlighter": "^15.5.11",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
- "highlight.js": "^11.9.0",
"lang-detector": "^1.0.6",
"lucide-react": "^0.372.0",
"moment": "^2.30.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b726ac6..8deeb75 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -17,9 +17,6 @@ dependencies:
clsx:
specifier: ^2.1.0
version: 2.1.0
- highlight.js:
- specifier: ^11.9.0
- version: 11.9.0
lang-detector:
specifier: ^1.0.6
version: 1.0.6
@@ -1592,11 +1589,6 @@ packages:
resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==}
dev: false
- /highlight.js@11.9.0:
- resolution: {integrity: sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==}
- engines: {node: '>=12.0.0'}
- dev: false
-
/ignore@5.3.1:
resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}
engines: {node: '>= 4'}
diff --git a/src/app/(pages)/[id]/page.tsx b/src/app/(pages)/[id]/page.tsx
index 18accb2..2aa62a0 100644
--- a/src/app/(pages)/[id]/page.tsx
+++ b/src/app/(pages)/[id]/page.tsx
@@ -3,10 +3,7 @@ import { ActionMenu } from "@/app/components/action-menu";
import { Metadata } from "next";
import moment from "moment";
import { notFound } from "next/navigation";
-
-// Highlight.js theme
-import "highlight.js/styles/github-dark-dimmed.css";
-import Codeblock from "@/app/components/codeblock";
+import { CodeBlock } from "@/app/components/codeBlock";
type PasteProps = {
params: {
@@ -65,7 +62,7 @@ export default async function Paste({
- {children}
-
- );
-};
-
-export default Codeblock;