From 821039f019ba40cd8b55e7146637e1d8fc7b3d32 Mon Sep 17 00:00:00 2001 From: Peter Ndengo Date: Wed, 24 Jan 2024 12:54:26 +0100 Subject: [PATCH] Fix: Fix issues about view voucher when WiiQare Admin's sending (#167) * Fix some issues * Fix some issues * Link to .env * WiiQare admin default --- pages/voucher/pass/[pass].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/voucher/pass/[pass].js b/pages/voucher/pass/[pass].js index ed6319be..1640ae6d 100644 --- a/pages/voucher/pass/[pass].js +++ b/pages/voucher/pass/[pass].js @@ -162,7 +162,7 @@ function Pass() { de{' '} - {data.sender.firstName} + {data?.sender?.firstName || "WiiQare Admin"} {' '} à{' '}