Use normal imports
This commit is contained in:
parent
1bae891594
commit
6059e8f691
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue