Fixed copy button
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s
This commit is contained in:
parent
62e6776585
commit
9044f7a8d7
@ -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" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user