From 04d93d7d235d328ef40c9dae4e1f56dc8a5e893f Mon Sep 17 00:00:00 2001
From: Pawel Zelawski <pawel@pzelawski.com>
Date: Sat, 23 May 2026 11:11:53 +0200
Subject: feat: harden demo security and add full test suite

---
 src/client/App.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/App.tsx')

diff --git a/src/client/App.tsx b/src/client/App.tsx
index ad1e230..e131d94 100644
--- a/src/client/App.tsx
+++ b/src/client/App.tsx
@@ -8,7 +8,6 @@ type UiState = 'initial' | 'waiting' | 'success' | 'failed';
 interface ResultData {
   address?: string; // Present on success
   error?: string; // Present on failure
-  addressType?: string; // Added later
 }
 
 function App() {
@@ -169,6 +168,7 @@ function App() {
               {isLoading ? 'Generating QR...' : 'Sign in with Digi-ID'}
             </span>
           </button>
+          {error && <p className="error-message">Reason: {error}</p>}
         </div>
       )}
 
-- 
cgit v1.2.3

