Fix et report formatting
This commit is contained in:
@@ -136,11 +136,11 @@ export default function () {
|
|||||||
my="16px"
|
my="16px"
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
await navigator.clipboard.writeText(
|
await navigator.clipboard.writeText(
|
||||||
`local Report = {
|
`\`\`\`\nlocal Report = {
|
||||||
${Object.values(data.members)
|
${Object.values(data.members)
|
||||||
.map((v) => `[${v.roblox_id}] = ${v.points};`)
|
.map((v) => `[${v.roblox_id}] = ${v.points};`)
|
||||||
.join("\n ")}
|
.join("\n ")}
|
||||||
}`,
|
}\n\`\`\``,
|
||||||
);
|
);
|
||||||
|
|
||||||
alert("Report copied.");
|
alert("Report copied.");
|
||||||
|
|||||||
Reference in New Issue
Block a user