diff --git a/components/wallet/index.js b/components/wallet/index.js index c9c8df1c..3d2a7af5 100644 --- a/components/wallet/index.js +++ b/components/wallet/index.js @@ -4,15 +4,13 @@ import useLocalState from '@/components/use-local-state' import { useWalletLogger } from '@/components/wallet-logger' import { SSR } from '@/lib/constants' import { bolt11Tags } from '@/lib/bolt11' + +import * as lnbits from '@/components/wallet/lnbits' +import * as nwc from '@/components/wallet/nwc' import * as lnc from '@/components/wallet/lnc' // wallet definitions -export const WALLET_DEFS = [ - await import('@/components/wallet/lnbits'), - await import('@/components/wallet/nwc'), - // FIXME: this doesn't break the build but it results in infinite page loads for some reason ... - lnc -] +export const WALLET_DEFS = [lnbits, nwc, lnc] export const Status = { Initialized: 'Initialized',