This commit is contained in:
2023-02-03 00:47:29 +01:00
parent cdb4176509
commit 3b4ea00378
2 changed files with 55 additions and 38 deletions

View File

@ -28,6 +28,9 @@ export default async function CreateQr({qr_id}:{qr_id: string | undefined})
type: "extra-rounded",
}
});
console.log(qrCode);
console.log(document.getElementById("canvas"));
document.getElementById("canvas")!.innerHTML = "";
qrCode.append(document.getElementById("canvas") as HTMLElement);