summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorPawel Zelawski <pawel@pzelawski.com>2026-05-23 11:11:53 +0200
committerPawel Zelawski <pawel@pzelawski.com>2026-05-23 11:11:53 +0200
commit04d93d7d235d328ef40c9dae4e1f56dc8a5e893f (patch)
treeb1da6b01a7ce0acbeeba3d3b1b3c25b43864bcdb /src/client
parentb4369d9d0f700869fd82f64bdc3af012a1ce5bd9 (diff)
feat: harden demo security and add full test suite
Diffstat (limited to 'src/client')
-rw-r--r--src/client/App.tsx2
1 files changed, 1 insertions, 1 deletions
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>
)}