diff options
| author | Pawel Zelawski <pawel@pzelawski.com> | 2026-05-23 11:11:53 +0200 |
|---|---|---|
| committer | Pawel Zelawski <pawel@pzelawski.com> | 2026-05-23 11:11:53 +0200 |
| commit | 04d93d7d235d328ef40c9dae4e1f56dc8a5e893f (patch) | |
| tree | b1da6b01a7ce0acbeeba3d3b1b3c25b43864bcdb /src/client/App.tsx | |
| parent | b4369d9d0f700869fd82f64bdc3af012a1ce5bd9 (diff) | |
feat: harden demo security and add full test suite
Diffstat (limited to 'src/client/App.tsx')
| -rw-r--r-- | src/client/App.tsx | 2 |
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> )} |
