Use normal imports

This commit is contained in:
ekzyis 2024-06-24 14:15:14 +02:00
parent 1bae891594
commit 6059e8f691
1 changed files with 4 additions and 6 deletions

View File

@ -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',