diff options
Diffstat (limited to 'src/routes/(app)/invoice')
| -rw-r--r-- | src/routes/(app)/invoice/[id]/+layout.server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/[id]/+layout.server.ts b/src/routes/(app)/invoice/[id]/+layout.server.ts index e428d9fe..c4a4ccab 100644 --- a/src/routes/(app)/invoice/[id]/+layout.server.ts +++ b/src/routes/(app)/invoice/[id]/+layout.server.ts @@ -36,6 +36,6 @@ export async function load({ cookies, depends, params, url, parent }) { } const src = Qr.drawImg(invoice?.text || "", { size: 500 }); - const theme = cookies.get("theme"); + const theme = cookies.get("theme") || "light"; return { id, invoice, subject, src, user, token, theme }; } |
