Fix button text and copying
This commit is contained in:
parent
621dbed30e
commit
641d372ac9
@ -135,18 +135,18 @@ export default function () {
|
||||
</TableContainer>
|
||||
<Button
|
||||
colorScheme="blue"
|
||||
my="16px"
|
||||
onClick={async () => {
|
||||
await navigator.clipboard.writeText(
|
||||
`local Report = {
|
||||
${Object.values(data.members)
|
||||
.map((v) => `[${v.roblox_id}] = ${v.points};`)
|
||||
.join("\n")}
|
||||
}`,
|
||||
${Object.values(data.members)
|
||||
.map((v) => `[${v.roblox_id}] = ${v.points};`)
|
||||
.join("\n ")}
|
||||
}`,
|
||||
);
|
||||
|
||||
alert("Report copied.");
|
||||
}}
|
||||
pt="16px"
|
||||
>
|
||||
Copy Report
|
||||
</Button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user