diff options
Diffstat (limited to 'src/routes/(app)/qr')
| -rw-r--r-- | src/routes/(app)/qr/[text]/+page.server.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/qr/[text]/+page.server.ts b/src/routes/(app)/qr/[text]/+page.server.ts index 5eaafe57..09e7593f 100644 --- a/src/routes/(app)/qr/[text]/+page.server.ts +++ b/src/routes/(app)/qr/[text]/+page.server.ts @@ -1,8 +1,8 @@ import Qr from "qrcode-base64"; export async function load({ params }) { - let { text } = params; - let src = Qr.drawImg(text, { size: 600 }); + const { text } = params; + const src = Qr.drawImg(text, { size: 600 }); - return { src, text }; + return { src, text }; } |
