From dfdad45963225d9d34f508fbc2b22141bd97b33f Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Sun, 10 Mar 2024 16:21:04 -0700 Subject: [PATCH] Beam: improve Debug info --- src/apps/beam/AppBeam.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/apps/beam/AppBeam.tsx b/src/apps/beam/AppBeam.tsx index 7b1790ddc..10224c494 100644 --- a/src/apps/beam/AppBeam.tsx +++ b/src/apps/beam/AppBeam.tsx @@ -45,18 +45,20 @@ export function AppBeam() { ), [showDebug]), null, 'AppBeam'); return ( - - {showDebug ? ( - + + + + + {showDebug && ( + {JSON.stringify({ conversationId: conversation.id }, null, 2) + '\n'} {JSON.stringify(beamStoreApi.getState(), null, 2)} - ) : ( - )} + ); } \ No newline at end of file