ekzyis 243b094fcd
Wallet debug logs (#2307)
* Add wallet debug logs

* Add checkbox to toggle diagnostics

* Require authentication for /wallets/debug

* Update debug log messages

* Use me.privates.diagnostics as source of truth
2025-07-23 10:42:14 -05:00

17 lines
573 B
JavaScript

import { getGetServerSideProps } from '@/api/ssrApollo'
import { WalletLayout, WalletLayoutHeader, WalletDebugSettings, WalletLogs } from '@/wallets/client/components'
export const getServerSideProps = getGetServerSideProps({ authRequired: true })
export default function WalletDebug () {
return (
<WalletLayout>
<div className='py-5 mx-auto w-100' style={{ maxWidth: '600px' }}>
<WalletLayoutHeader>wallet debug</WalletLayoutHeader>
<WalletDebugSettings />
<WalletLogs className='mt-3' debug />
</div>
</WalletLayout>
)
}