Fixed copy button
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s

This commit is contained in:
Asher 2025-03-02 14:57:42 +00:00
parent 62e6776585
commit 9044f7a8d7

View File

@ -26,7 +26,7 @@ export default function CodeBlock({ code, language = "typescript" }: CodeBlockPr
<div style={{position: "absolute", right: "10px", top: "10px"}}> <div style={{position: "absolute", right: "10px", top: "10px"}}>
<button <button
onClick={handleCopy} onClick={handleCopy}
className="p-2 hover:bg-gray-700 rounded" className="p-2 rounded"
> >
{copied ? <Check size={16} color="#000000" /> : {copied ? <Check size={16} color="#000000" /> :
<Copy size={16} color="#000000" /> <Copy size={16} color="#000000" />