Update handleCopy function in Script.tsx to use "command" instead of "code"

This commit is contained in:
Bram Suurd
2024-05-05 23:09:59 +02:00
parent f73a4c0298
commit b61908ca41

View File

@@ -47,7 +47,7 @@ function ScriptItem() {
variant={"secondary"}
size={"sm"}
key={index}
onClick={() => handleCopy("code", part)}
onClick={() => handleCopy("command", part)}
>
{part}
</Button>