Commit 2029fd3
committed
Fix TypeScript error for window.nostr after NDK removal
- Add back global Window interface declaration for nostr property
- Defines window.nostr as optional NostrProvider type
- Fixes TypeScript compilation error in LoginForm and other components
- Required after removing NDK which previously provided these types1 parent 8fd1f5a commit 2029fd3
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments