Update handleCopy function in Script.tsx to use "command" instead of "code"
This commit is contained in:
@@ -47,7 +47,7 @@ function ScriptItem() {
|
||||
variant={"secondary"}
|
||||
size={"sm"}
|
||||
key={index}
|
||||
onClick={() => handleCopy("code", part)}
|
||||
onClick={() => handleCopy("command", part)}
|
||||
>
|
||||
{part}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user