import { WalletSecurityBanner } from './banners' import { Form } from './form' import { CenterLayout } from './layout' export default function WalletConfigurator ({ config }) { const initial = config.provider return (

{config.title}

use {config.title} for payments
{ try { await saveConfig(values) if (isDefault) setProvider(lnbits) toaster.success('saved settings') router.push('/settings/wallets') } catch (err) { console.error(err) toaster.danger('failed to attach: ' + err.message || err.toString?.()) } }} > { try { await clearConfig() toaster.success('saved settings') router.push('/settings/wallets') } catch (err) { console.error(err) toaster.danger('failed to detach: ' + err.message || err.toString?.()) } }} />
) }