fix(build): remove unused import EyeOff to pass strict CI build

This commit is contained in:
Dwindi Ramadhana
2026-06-14 11:52:19 +07:00
parent dd0b98e077
commit fcbfeb44f8
3 changed files with 2 additions and 10 deletions

View File

@@ -1,16 +1,9 @@
import React from "react";
import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
import { Copy } from "lucide-react";
const CodeBlockComponent = ({ node, updateAttributes, extension }) => {
const handleCopy = () => {
navigator.clipboard.writeText(node.textContent).then(() => {
// Optional: Add visual feedback for copy
});
};
return (
<NodeViewWrapper className="code-block-wrapper relative">
<NodeViewWrapper className="code-block-wrapper relative bg-[#0d1117] rounded-md overflow-hidden mb-[0.65em]">
<div className="code-block-header flex justify-between items-center px-4 py-2 bg-[#161b22] border border-[#30363d] border-b-0 rounded-t-md text-xs font-mono">
<select
contentEditable={false}