fix: load WebLN wallet later
This commit is contained in:
@ -50,6 +50,8 @@ import { ListFeedPage } from "Pages/ListFeedPage";
|
||||
import { updateRelayConnections } from "Hooks/useLoginRelays";
|
||||
import { AboutPage } from "Pages/About";
|
||||
import { OnboardingRoutes } from "Pages/onboarding";
|
||||
import { setupWebLNWalletConfig } from "Wallet/WebLN";
|
||||
import { Wallets } from "Wallet";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
@ -164,6 +166,8 @@ async function initSite() {
|
||||
sc.setAttribute("data-domain", CONFIG.hostname);
|
||||
document.head.appendChild(sc);
|
||||
}
|
||||
|
||||
setupWebLNWalletConfig(Wallets);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user