missing winodw
This commit is contained in:
parent
0468f715d7
commit
6151167b12
@ -93,6 +93,8 @@ export default function LoginModal() {
|
|||||||
console.log("LOGIN", user);
|
console.log("LOGIN", user);
|
||||||
await loginWithPubkey(nip19.decode(user.npub).data.toString());
|
await loginWithPubkey(nip19.decode(user.npub).data.toString());
|
||||||
localStorage.setItem("shouldReconnect", "true");
|
localStorage.setItem("shouldReconnect", "true");
|
||||||
|
} else {
|
||||||
|
alert("MIssing window");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof window.webln !== "undefined") {
|
if (typeof window.webln !== "undefined") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user